Commit 74f97b0d authored by balazs.kilvady's avatar balazs.kilvady Committed by Commit bot

MIPS64: Fix 'Revert of Revert of [strong] Implement strong mode restrictions on property access'.

Port 41405c04

TEST=mjsunit/strong/load-property-mutate-backing-store, mjsunit/call-stub
BUG=

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

Cr-Commit-Position: refs/heads/master@{#29156}
parent 3a4c7538
......@@ -329,7 +329,10 @@ void LoadIC::GenerateSlow(MacroAssembler* masm) {
__ mov(LoadIC_TempRegister(), LoadDescriptor::ReceiverRegister());
__ Push(LoadIC_TempRegister(), LoadDescriptor::NameRegister());
__ TailCallRuntime(Runtime::kGetProperty, 2, 1);
ExternalReference ref =
ExternalReference(IC_Utility(kLoadIC_Slow), masm->isolate());
int arg_count = 2;
__ TailCallExternalReference(ref, arg_count, 1);
}
......@@ -357,7 +360,10 @@ void KeyedLoadIC::GenerateSlow(MacroAssembler* masm) {
__ Push(LoadDescriptor::ReceiverRegister(), LoadDescriptor::NameRegister());
__ TailCallRuntime(Runtime::kKeyedGetProperty, 2, 1);
ExternalReference ref =
ExternalReference(IC_Utility(kKeyedLoadIC_Slow), masm->isolate());
int arg_count = 2;
__ TailCallExternalReference(ref, arg_count, 1);
}
......
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