Reviewers: danno, conradw, paul.l..., dusmil.imgtec, akos.palfi.imgtec,

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

Port 41405c0470d5b30ec5d22665ed9430c46b33624f

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

Please review this at https://codereview.chromium.org/1191333003/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+8, -2 lines):
  M src/ic/mips64/ic-mips64.cc


Index: src/ic/mips64/ic-mips64.cc
diff --git a/src/ic/mips64/ic-mips64.cc b/src/ic/mips64/ic-mips64.cc
index cbe9c0db786275fab12e4cdb950bb7f05bb75829..2d9ffe517b1bbd3e740e529fdc16d4a95cdc0145 100644
--- a/src/ic/mips64/ic-mips64.cc
+++ b/src/ic/mips64/ic-mips64.cc
@@ -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);
 }




--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to