From f0cde549bed96e16401a347a4511b59130c61e84 Mon Sep 17 00:00:00 2001 From: buzbee Date: Tue, 13 Sep 2011 14:55:02 -0700 Subject: 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 --- src/compiler/codegen/arm/MethodCodegenDriver.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/compiler/codegen/arm/MethodCodegenDriver.cc') 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); -- cgit v1.2.3-59-g8ed1b