From 80fd18865769b24478ed0ea451ef781a98a189d6 Mon Sep 17 00:00:00 2001 From: "verwaest@chromium.org" Date: Tue, 18 Feb 2014 10:14:11 +0000 Subject: [PATCH] Remove unnecessary checks in CompileStoreInterceptor on a64. BUG= R=dcarney@chromium.org Review URL: https://codereview.chromium.org/163963003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19431 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/a64/stub-cache-a64.cc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/a64/stub-cache-a64.cc b/src/a64/stub-cache-a64.cc index 517556b..3cf2a29 100644 --- a/src/a64/stub-cache-a64.cc +++ b/src/a64/stub-cache-a64.cc @@ -1293,18 +1293,6 @@ Handle StoreStubCompiler::CompileStoreInterceptor( ASM_LOCATION("StoreStubCompiler::CompileStoreInterceptor"); - // Check that the map of the object hasn't changed. - __ CheckMap(receiver(), scratch1(), Handle(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 @@ Handle StoreStubCompiler::CompileStoreInterceptor( 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); } -- 2.7.4