Commit bdf99369 authored by zhengxing.li's avatar zhengxing.li Committed by Commit bot

X87: [Interpreter] Fix some issues in the non-x64 InterpreterNotifyDeoptimized builtins.

  port 02072112(r33088)

  original commit message:
  Fix stack push issues on non-x64 platforms for
  InterpreterNotifyDeoptimized builtins.

BUG=

Review URL: https://codereview.chromium.org/1553083005

Cr-Commit-Position: refs/heads/master@{#33103}
parent 050b7923
...@@ -787,7 +787,7 @@ static void Generate_InterpreterNotifyDeoptimizedHelper( ...@@ -787,7 +787,7 @@ static void Generate_InterpreterNotifyDeoptimizedHelper(
__ LoadRoot(ebx, Heap::kInterpreterTableRootIndex); __ LoadRoot(ebx, Heap::kInterpreterTableRootIndex);
__ add(ebx, Immediate(FixedArray::kHeaderSize - kHeapObjectTag)); __ add(ebx, Immediate(FixedArray::kHeaderSize - kHeapObjectTag));
DCHECK_EQ(-1, kInterpreterDispatchTableSpillSlot); DCHECK_EQ(-1, kInterpreterDispatchTableSpillSlot);
__ mov(ebx, Operand(esp, -2 * kPointerSize)); __ mov(Operand(esp, kPointerSize), ebx);
// Dispatch to the target bytecode. // Dispatch to the target bytecode.
__ movzx_b(esi, Operand(kInterpreterBytecodeArrayRegister, __ movzx_b(esi, Operand(kInterpreterBytecodeArrayRegister,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment