summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/arm/MethodCodegenDriver.cc
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2011-08-27 11:58:19 -0700
committer buzbee <buzbee@google.com> 2011-08-27 11:58:19 -0700
commite6d6196822952a9ccbb6ac2a97f4e3ae5e59705b (patch)
tree4ddf77ae5db6672b29a0ac205809287a5980b78e /src/compiler/codegen/arm/MethodCodegenDriver.cc
parent7b1b86d68244b0bb4ea3f43505eb45fdd46814d6 (diff)
Various bug fixes.
The most amusing fix was the wierd NaN test failure. After spending way too much time debugging, it turned out to be a missing comma in the argument list of the test launcher. Change-Id: I76253575d7fbe2c2c260f1839a517c1b93dc9224
Diffstat (limited to 'src/compiler/codegen/arm/MethodCodegenDriver.cc')
-rw-r--r--src/compiler/codegen/arm/MethodCodegenDriver.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/compiler/codegen/arm/MethodCodegenDriver.cc b/src/compiler/codegen/arm/MethodCodegenDriver.cc
index f7194f14a6..1cf37664d4 100644
--- a/src/compiler/codegen/arm/MethodCodegenDriver.cc
+++ b/src/compiler/codegen/arm/MethodCodegenDriver.cc
@@ -1455,15 +1455,12 @@ static bool compileDalvikInstruction(CompilationUnit* cUnit, MIR* mir,
genArithOpLong(cUnit, mir, rlDest, rlSrc[0], rlSrc[1]);
break;
- case OP_SHL_LONG_2ADDR:
- case OP_SHR_LONG_2ADDR:
- case OP_USHR_LONG_2ADDR:
- genShiftOpLong(cUnit,mir, rlDest, rlSrc[0], rlSrc[0]);
- break;
-
case OP_SHL_LONG:
case OP_SHR_LONG:
case OP_USHR_LONG:
+ case OP_SHL_LONG_2ADDR:
+ case OP_SHR_LONG_2ADDR:
+ case OP_USHR_LONG_2ADDR:
genShiftOpLong(cUnit,mir, rlDest, rlSrc[0], rlSrc[1]);
break;