Commit 24782a47 authored by sreten.kovacevic's avatar sreten.kovacevic Committed by Commit bot

MIPS[64]: Fix `[turbofan] Correct lazy deopt {JSCreate} operation.`

Fix 6ee0b6ce

Fix wrong register usage for MIPS ports

TEST=mjsunit/regress/regress-5638b
BUG=

Review-Url: https://codereview.chromium.org/2831733004
Cr-Commit-Position: refs/heads/master@{#44749}
parent 7a12fc00
......@@ -629,7 +629,7 @@ void Generate_JSConstructStubHelper(MacroAssembler* masm, bool is_api_function,
// -----------------------------------
__ Pop(a1);
__ Push(a0, a0);
__ Push(v0, v0);
// Retrieve smi-tagged arguments count from the stack.
__ lw(a0, MemOperand(fp, ConstructFrameConstants::kLengthOffset));
......
......@@ -627,7 +627,7 @@ void Generate_JSConstructStubHelper(MacroAssembler* masm, bool is_api_function,
// -----------------------------------
__ Pop(a1);
__ Push(a0, a0);
__ Push(v0, v0);
// Retrieve smi-tagged arguments count from the stack.
__ Ld(a0, MemOperand(fp, ConstructFrameConstants::kLengthOffset));
......
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