Index: src/x87/builtins-x87.cc |
diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc |
index 80caa613bf98b8b89247a1882883578d30f3721c..11448e6fbad84060cb6d6c9f69525c169da4cb77 100644 |
--- a/src/x87/builtins-x87.cc |
+++ b/src/x87/builtins-x87.cc |
@@ -546,6 +546,10 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
__ push(edi); // Callee's JS function. |
__ push(edx); // Callee's new target. |
+ // Push dispatch table pointer. |
+ __ mov(eax, Immediate(ExternalReference::interpreter_dispatch_table_address( |
+ masm->isolate()))); |
+ __ push(eax); |
// Push zero for bytecode array offset. |
__ push(Immediate(0)); |
@@ -608,8 +612,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
Immediate(InterpreterFrameConstants::kRegisterFilePointerFromFp)); |
__ mov(kInterpreterBytecodeOffsetRegister, |
Immediate(BytecodeArray::kHeaderSize - kHeapObjectTag)); |
- __ mov(ebx, Immediate(ExternalReference::interpreter_dispatch_table_address( |
- masm->isolate()))); |
+ __ mov(ebx, Operand(ebp, InterpreterFrameConstants::kDispatchTableFromFp)); |
// Push dispatch table as a stack located parameter to the bytecode handler. |
DCHECK_EQ(-1, kInterpreterDispatchTableSpillSlot); |