Commit 1db43a84 authored by paul.lind's avatar paul.lind Committed by Commit bot

MIPS64: Fix Remove receiver conversion from function prologue.

Use 64-bit load of receiver in 4ab1b05d.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#31847}
parent 2fa47327
...@@ -126,7 +126,7 @@ void FullCodeGenerator::Generate() { ...@@ -126,7 +126,7 @@ void FullCodeGenerator::Generate() {
if (FLAG_debug_code && info->ExpectsJSReceiverAsReceiver()) { if (FLAG_debug_code && info->ExpectsJSReceiverAsReceiver()) {
int receiver_offset = info->scope()->num_parameters() * kPointerSize; int receiver_offset = info->scope()->num_parameters() * kPointerSize;
__ lw(a2, MemOperand(sp, receiver_offset)); __ ld(a2, MemOperand(sp, receiver_offset));
__ AssertNotSmi(a2); __ AssertNotSmi(a2);
__ GetObjectType(a2, a2, a2); __ GetObjectType(a2, a2, a2);
__ Check(ge, kSloppyFunctionExpectsJSReceiverReceiver, a2, __ Check(ge, kSloppyFunctionExpectsJSReceiverReceiver, a2,
......
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