Commit 90b64b3c authored by mbrandy's avatar mbrandy Committed by Commit bot

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

Port 02072112

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

R=rmcilroy@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
BUG=v8:4280
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#33098}
parent 4e18190e
......@@ -951,11 +951,8 @@ static void Generate_InterpreterNotifyDeoptimizedHelper(
// Tear down internal frame.
}
// Drop state (we don't use these for interpreter deopts) and push PC at top
// of stack (to simulate initial call to bytecode handler in interpreter entry
// trampoline).
__ pop(r4);
__ StoreP(r4, MemOperand(sp, 0));
// Drop state (we don't use these for interpreter deopts).
__ Drop(1);
// Initialize register file register and dispatch table register.
__ addi(kInterpreterRegisterFileRegister, fp,
......
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