Skip to content

Commit

Permalink
Move profiling instrumentation pre-ssa-conversion just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonje committed Jun 5, 2013
1 parent 809c7a2 commit 6f96859
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assignment2/main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@

p.dump_info ARGV[0] if report_enabled

p.instrument if profiling_enabled

p.to_ssa if ssa_enabled

p.scp if scp_enabled
Expand All @@ -90,8 +92,6 @@
p.gcse if cse_enabled
p.report_gen_gcse if cse_enabled and report_enabled

p.instrument if profiling_enabled

p.from_ssa if bssa_enabled

p.dump_cfgs ARGV[0] if cfg_enabled
Expand Down

0 comments on commit 6f96859

Please sign in to comment.