summaryrefslogtreecommitdiff
path: root/src/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2013-04-02 15:33:54 -0700
committer buzbee <buzbee@google.com> 2013-04-02 15:33:54 -0700
commitb0245aef06f72c045584737807c6ea131557a248 (patch)
treef618b4b3b6b4a92ca2357c6f84b2da0ba90a42d1 /src/compiler/driver/compiler_driver.cc
parent1fd3346740dfb7f47be9922312b68a4227fada96 (diff)
Compiler: stop wasting cycles....
Must have gotten carried away during the refactoring of the graph traversal code... The quick codegen's mechanism to sum the static uses of SSA regs and bucket them by parent Dalvik vreg was getting run once for each basic block, when all it needed was to be run once per method. This had no effect on register allocation because the use counts kept their relative position, but it uselessly wasted cycles. Also fixed an inconsistency in the promotion threshold. Change-Id: I58b438fe419f789ed11f7b136db645b2d23395de
Diffstat (limited to 'src/compiler/driver/compiler_driver.cc')
0 files changed, 0 insertions, 0 deletions