Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index f407fa5387cc0e47fed1dc2409004024eee8ac76..c501b5cd20adba6ae28200f19d20e628592d29c8 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -370,6 +370,12 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kX64Sar: |
ASSEMBLE_SHIFT(sarq, 6); |
break; |
+ case kX64Ror32: |
+ ASSEMBLE_SHIFT(rorl, 5); |
+ break; |
+ case kX64Ror: |
+ ASSEMBLE_SHIFT(rorq, 6); |
+ break; |
case kX64Push: { |
RegisterOrOperand input = i.InputRegisterOrOperand(0); |
if (input.type == kRegister) { |