OSDN Git Service

Quick compiler, out of registers fix
authorbuzbee <buzbee@google.com>
Sun, 18 May 2014 06:16:26 +0000 (23:16 -0700)
committerbuzbee <buzbee@google.com>
Tue, 20 May 2014 03:02:10 +0000 (20:02 -0700)
commit082833c8d577db0b2bebc100602f31e4e971613e
treea92e43ebea394629dfb43adcce878404de5bc330
parent6b522855f913617e00c1783264436145d00cc533
Quick compiler, out of registers fix

It turns out that the register pool sanity checker was not
working as expected, leaving some inconsistencies unreported.
This could result in "out of registers" failures, as well
as other more subtle problems.

This CL fixes the sanity checker, adds a lot more check and cleans
up the previously undetected episodes of insanity.

Cherry-pick of internal change 468162

Change-Id: Id2da97e99105a4c272c5fd256205a94b904ecea8
17 files changed:
compiler/dex/quick/arm/codegen_arm.h
compiler/dex/quick/arm/int_arm.cc
compiler/dex/quick/arm/target_arm.cc
compiler/dex/quick/arm/utility_arm.cc
compiler/dex/quick/arm64/codegen_arm64.h
compiler/dex/quick/arm64/target_arm64.cc
compiler/dex/quick/gen_invoke.cc
compiler/dex/quick/gen_loadstore.cc
compiler/dex/quick/mips/codegen_mips.h
compiler/dex/quick/mips/target_mips.cc
compiler/dex/quick/mir_to_lir-inl.h
compiler/dex/quick/mir_to_lir.cc
compiler/dex/quick/mir_to_lir.h
compiler/dex/quick/ralloc_util.cc
compiler/dex/quick/x86/codegen_x86.h
compiler/dex/quick/x86/int_x86.cc
compiler/dex/quick/x86/target_x86.cc