diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-10-09 20:14:32 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-10-09 20:14:32 +0100 |
| commit | 90babbfbf30cc9c611af74e8c0af3562faf4d58b (patch) | |
| tree | 72fa8156a0dfececd67a3ad0943fa16661385503 /src/codegen | |
| parent | 5bffa4ee793a891237538cb4d18754bed4d43748 (diff) | |
Very Basic Profiling
Diffstat (limited to 'src/codegen')
| -rw-r--r-- | src/codegen/ssa.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/codegen/ssa.cpp b/src/codegen/ssa.cpp index 7a182c9e8..366343318 100644 --- a/src/codegen/ssa.cpp +++ b/src/codegen/ssa.cpp @@ -1421,6 +1421,7 @@ void ssa_end_procedure_body(ssaProcedure *proc) { ssa_emit_jump(proc, proc->entry_block); ssa_optimize_blocks(proc); +#if 0 ssa_build_referrers(proc); ssa_build_dom_tree(proc); @@ -1430,7 +1431,7 @@ void ssa_end_procedure_body(ssaProcedure *proc) { // [ ] Local stored once? Replace loads with dominating store // [ ] Convert to phi nodes ssa_opt_mem2reg(proc); - +#endif // Number registers i32 reg_index = 0; |