MIPS: Fetch strictmode in the interceptor setter from the IC.
Port r18140 (9d563402) BUG= R=gergely@homejinni.com Review URL: https://codereview.chromium.org/96043003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18145 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
dd26204073
commit
d778f7088f
@ -2619,13 +2619,10 @@ Handle<Code> StoreStubCompiler::CompileStoreInterceptor(
|
||||
|
||||
__ Push(receiver(), this->name(), value());
|
||||
|
||||
__ li(scratch1(), Operand(Smi::FromInt(strict_mode())));
|
||||
__ push(scratch1()); // strict mode
|
||||
|
||||
// Do tail-call to the runtime system.
|
||||
ExternalReference store_ic_property =
|
||||
ExternalReference(IC_Utility(IC::kStoreInterceptorProperty), isolate());
|
||||
__ TailCallExternalReference(store_ic_property, 4, 1);
|
||||
__ TailCallExternalReference(store_ic_property, 3, 1);
|
||||
|
||||
// Handle store cache miss.
|
||||
__ bind(&miss);
|
||||
|
Loading…
Reference in New Issue
Block a user