Commit 84f244dd authored by dusan.simicic's avatar dusan.simicic Committed by Commit bot

MIPS64: Fix load in Generate_JSConstructStubGeneric

This patch fixes regresion introduced in CL:
https://chromium-review.googlesource.com/c/489525/

ldr instruction is unaligned load on MIPS and it is not available in
MIPS64r6 architecture.

BUG=

Review-Url: https://codereview.chromium.org/2873873005
Cr-Commit-Position: refs/heads/master@{#45257}
parent b4948f1b
......@@ -587,8 +587,8 @@ void Generate_JSConstructStubGeneric(MacroAssembler* masm,
// -----------------------------------
// Restore constructor function and argument count.
__ ldr(a1, MemOperand(fp, ConstructFrameConstants::kConstructorOffset));
__ ldr(a0, MemOperand(fp, ConstructFrameConstants::kLengthOffset));
__ Ld(a1, MemOperand(fp, ConstructFrameConstants::kConstructorOffset));
__ Ld(a0, MemOperand(fp, ConstructFrameConstants::kLengthOffset));
__ SmiUntag(a0);
// Set up pointer to last argument.
......
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