diff options
| author | 2013-04-02 15:33:54 -0700 | |
|---|---|---|
| committer | 2013-04-02 15:33:54 -0700 | |
| commit | b0245aef06f72c045584737807c6ea131557a248 (patch) | |
| tree | f618b4b3b6b4a92ca2357c6f84b2da0ba90a42d1 /src/compiler/driver/compiler_driver.cc | |
| parent | 1fd3346740dfb7f47be9922312b68a4227fada96 (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