summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/GenCommon.cc
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2012-07-16 14:47:19 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-07-16 14:47:19 -0700
commitea905deb5e2b84ad7acbccfd03bbbf2e759bbf45 (patch)
tree30043b68c6e6741dd42d938e1990ee16315a24d5 /src/compiler/codegen/GenCommon.cc
parent6a607ad0902f3b8478e95d0b6b3e63a538571a3f (diff)
parent2a83e8f06031948741ae3dda3633433ddd669693 (diff)
Merge "Quick compiler, fix wide bug" into ics-mr1-plus-art
Diffstat (limited to 'src/compiler/codegen/GenCommon.cc')
-rw-r--r--src/compiler/codegen/GenCommon.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/codegen/GenCommon.cc b/src/compiler/codegen/GenCommon.cc
index 9082a49ad3..b4b0f6a9e0 100644
--- a/src/compiler/codegen/GenCommon.cc
+++ b/src/compiler/codegen/GenCommon.cc
@@ -2062,16 +2062,19 @@ bool genArithOpIntLit(CompilationUnit* cUnit, Instruction::Code opcode,
op = kOpXor;
break;
case Instruction::SHL_INT_LIT8:
+ case Instruction::SHL_INT:
lit &= 31;
shiftOp = true;
op = kOpLsl;
break;
case Instruction::SHR_INT_LIT8:
+ case Instruction::SHR_INT:
lit &= 31;
shiftOp = true;
op = kOpAsr;
break;
case Instruction::USHR_INT_LIT8:
+ case Instruction::USHR_INT:
lit &= 31;
shiftOp = true;
op = kOpLsr;