Revision: 19431
Author:   [email protected]
Date:     Tue Feb 18 10:14:11 2014 UTC
Log:      Remove unnecessary checks in CompileStoreInterceptor on a64.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/163963003
http://code.google.com/p/v8/source/detail?r=19431

Modified:
 /branches/bleeding_edge/src/a64/stub-cache-a64.cc

=======================================
--- /branches/bleeding_edge/src/a64/stub-cache-a64.cc Mon Feb 17 16:08:44 2014 UTC +++ /branches/bleeding_edge/src/a64/stub-cache-a64.cc Tue Feb 18 10:14:11 2014 UTC
@@ -1293,18 +1293,6 @@

   ASM_LOCATION("StoreStubCompiler::CompileStoreInterceptor");

-  // Check that the map of the object hasn't changed.
-  __ CheckMap(receiver(), scratch1(), Handle<Map>(object->map()), &miss,
-              DO_SMI_CHECK);
-
-  // Perform global security token check if needed.
-  if (object->IsJSGlobalProxy()) {
-    __ CheckAccessGlobalProxy(receiver(), scratch1(), &miss);
-  }
-
- // Stub is never generated for non-global objects that require access checks.
-  ASSERT(object->IsJSGlobalProxy() || !object->IsAccessCheckNeeded());
-
   __ Push(receiver(), this->name(), value());

   // Do tail-call to the runtime system.
@@ -1312,10 +1300,6 @@
ExternalReference(IC_Utility(IC::kStoreInterceptorProperty), isolate());
   __ TailCallExternalReference(store_ic_property, 3, 1);

-  // Handle store cache miss.
-  __ Bind(&miss);
-  TailCallBuiltin(masm(), MissBuiltin(kind()));
-
   // Return the generated code.
   return GetCode(kind(), Code::FAST, name);
 }

--
--
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/groups/opt_out.

Reply via email to