Index: src/arm/lithium-codegen-arm.cc |
=================================================================== |
--- src/arm/lithium-codegen-arm.cc (revision 12582) |
+++ src/arm/lithium-codegen-arm.cc (working copy) |
@@ -1478,6 +1478,9 @@ |
case Token::SHL: |
__ mov(result, Operand(left, LSL, scratch)); |
break; |
+ case Token::ROR: |
+ __ mov(result, Operand(left, ROR, scratch)); |
+ break; |
default: |
UNREACHABLE(); |
break; |
@@ -1512,6 +1515,13 @@ |
__ Move(result, left); |
} |
break; |
+ case Token::ROR: |
+ if (shift_count != 0) { |
+ __ mov(result, Operand(left, ROR, shift_count)); |
+ } else { |
+ __ Move(result, left); |
+ } |
+ break; |
default: |
UNREACHABLE(); |
break; |