Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index c1c87d954e1cc0ea479db95c2594499367deffc6..5bab08602604f755cb533aa484dce8fc62dd2aa7 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -2912,47 +2912,6 @@ Handle<Code> StoreStubCompiler::CompileStoreInterceptor( |
} |
-Handle<Code> StoreStubCompiler::CompileStoreGlobal( |
- Handle<GlobalObject> object, |
- Handle<PropertyCell> cell, |
- Handle<Name> name) { |
- Label miss; |
- |
- // Check that the map of the global has not changed. |
- __ ldr(scratch1(), FieldMemOperand(receiver(), HeapObject::kMapOffset)); |
- __ cmp(scratch1(), Operand(Handle<Map>(object->map()))); |
- __ b(ne, &miss); |
- |
- // Check that the value in the cell is not the hole. If it is, this |
- // cell could have been deleted and reintroducing the global needs |
- // to update the property details in the property dictionary of the |
- // global object. We bail out to the runtime system to do that. |
- __ mov(scratch1(), Operand(cell)); |
- __ LoadRoot(scratch2(), Heap::kTheHoleValueRootIndex); |
- __ ldr(scratch3(), FieldMemOperand(scratch1(), Cell::kValueOffset)); |
- __ cmp(scratch3(), scratch2()); |
- __ b(eq, &miss); |
- |
- // Store the value in the cell. |
- __ str(value(), FieldMemOperand(scratch1(), Cell::kValueOffset)); |
- // Cells are always rescanned, so no write barrier here. |
- |
- Counters* counters = isolate()->counters(); |
- __ IncrementCounter( |
- counters->named_store_global_inline(), 1, scratch1(), scratch2()); |
- __ Ret(); |
- |
- // Handle store cache miss. |
- __ bind(&miss); |
- __ IncrementCounter( |
- counters->named_store_global_inline_miss(), 1, scratch1(), scratch2()); |
- TailCallBuiltin(masm(), MissBuiltin(kind())); |
- |
- // Return the generated code. |
- return GetICCode(kind(), Code::NORMAL, name); |
-} |
- |
- |
Handle<Code> LoadStubCompiler::CompileLoadNonexistent( |
Handle<JSObject> object, |
Handle<JSObject> last, |