summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/arm/MethodCodegenDriver.cc
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2011-09-13 14:55:02 -0700
committer buzbee <buzbee@google.com> 2011-09-13 15:13:44 -0700
commitf0cde549bed96e16401a347a4511b59130c61e84 (patch)
treea5c91481513ea75897d0f64ae9bb660923f42a94 /src/compiler/codegen/arm/MethodCodegenDriver.cc
parent5ea047b386c5dac78eda62305d14dedf7b5611a8 (diff)
SSA renaming fix & invalid opcode fix
The old SSA renaming mechanism was able to take some shortcuts because of the limited CFG shapes it encountered. Shortcut replaced and previous workaround code removed. Also fixes a regression introduced by the stack bounds checking change which sometimes resulted in an (opcode < 0x200) assert failure, and removes an optimization flag and associated code that no longer applicable. Change-Id: I617e9e5347dfd3a7e8f44a9772647bf4530631d6
Diffstat (limited to 'src/compiler/codegen/arm/MethodCodegenDriver.cc')
-rw-r--r--src/compiler/codegen/arm/MethodCodegenDriver.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/codegen/arm/MethodCodegenDriver.cc b/src/compiler/codegen/arm/MethodCodegenDriver.cc
index 8070e8d4e6..10f470dcda 100644
--- a/src/compiler/codegen/arm/MethodCodegenDriver.cc
+++ b/src/compiler/codegen/arm/MethodCodegenDriver.cc
@@ -1878,9 +1878,7 @@ static bool methodBlockCodeGen(CompilationUnit* cUnit, BasicBlock* bb)
for (mir = bb->firstMIRInsn; mir; mir = mir->next) {
oatResetRegPool(cUnit);
- if (cUnit->disableOpt & (1 << kTrackLiveTemps)) {
- oatClobberAllRegs(cUnit);
- }
+ oatClobberAllRegs(cUnit);
if (cUnit->disableOpt & (1 << kSuppressLoads)) {
oatResetDefTracking(cUnit);