OSDN Git Service

Fix user-build on fugu.
authorNicolas Geoffray <ngeoffray@google.com>
Fri, 27 Mar 2015 10:27:22 +0000 (10:27 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 30 Mar 2015 11:45:58 +0000 (12:45 +0100)
commit5b168deeae2c5a8a566ce5c140741f0e2227af21
tree4a572dfc6932d1f478eae594801c59af11628ef8
parentb3665e3dfdd23cc7a2f17a0b53bb16205bf4151f
Fix user-build on fugu.

Calling Delete on an array shifts the elements, so when iterating
over inactives and removing entries we need to decrement for
the found interval, but also its potential other half. The code
used to not decrement for the other half

Change-Id: Idcb1533643c11a37ed4f459fe88aaef208a4bfd6
compiler/optimizing/register_allocator.cc
compiler/optimizing/register_allocator.h
test/467-regalloc-pair/expected.txt [new file with mode: 0644]
test/467-regalloc-pair/info.txt [new file with mode: 0644]
test/467-regalloc-pair/smali/TestCase.smali [new file with mode: 0644]
test/467-regalloc-pair/src/Main.java [new file with mode: 0644]