Commit c81a1eee authored by Peter Marshall's avatar Peter Marshall Committed by Commit Bot

[mips64] Use Dsubu in InterpreterPushArgs.

Bug: v8:6488
Change-Id: Icc1e8a71f32592f670f262eb588976c07af41a22
Reviewed-on: https://chromium-review.googlesource.com/541283Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46197}
parent f7d60ab7
......@@ -1315,7 +1315,7 @@ void Builtins::Generate_InterpreterPushArgsThenCallImpl(
if (mode == InterpreterPushArgsMode::kWithFinalSpread) {
__ Pop(a2); // Pass the spread in a register
__ Subu(a0, a0, Operand(1)); // Subtract one for spread
__ Dsubu(a0, a0, Operand(1)); // Subtract one for spread
}
// Call the target.
......@@ -1362,7 +1362,7 @@ void Builtins::Generate_InterpreterPushArgsThenConstructImpl(
if (mode == InterpreterPushArgsMode::kWithFinalSpread) {
__ Pop(a2); // Pass the spread in a register
__ Subu(a0, a0, Operand(1)); // Subtract one for spread
__ Dsubu(a0, a0, Operand(1)); // Subtract one for spread
} else {
__ AssertUndefinedOrAllocationSite(a2, t0);
}
......
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