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 e6dfaf1e7785051423cf910210c20c894e299400..7bf26a4c91b4563a6b44b86a3d631e3f4a6b7047 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -519,6 +519,12 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ movsd(operand, i.InputDoubleRegister(index)); |
} |
break; |
+ case kX64Lea32: |
+ __ leal(i.OutputRegister(), i.MemoryOperand()); |
+ break; |
+ case kX64Lea: |
+ __ leaq(i.OutputRegister(), i.MemoryOperand()); |
+ break; |
case kX64Push: |
if (HasImmediateInput(instr, 0)) { |
__ pushq(i.InputImmediate(0)); |