| Index: src/a64/stub-cache-a64.cc
|
| diff --git a/src/a64/stub-cache-a64.cc b/src/a64/stub-cache-a64.cc
|
| index 8da93612a118d73efacf51402148ff945882d7bc..420adcf016d1ac647bc6aca041a3bf6abc52228d 100644
|
| --- a/src/a64/stub-cache-a64.cc
|
| +++ b/src/a64/stub-cache-a64.cc
|
| @@ -2977,49 +2977,6 @@ Handle<Code> StoreStubCompiler::CompileStoreInterceptor(
|
| }
|
|
|
|
|
| -Handle<Code> StoreStubCompiler::CompileStoreGlobal(
|
| - Handle<GlobalObject> object,
|
| - Handle<PropertyCell> cell,
|
| - Handle<Name> name) {
|
| - Label miss;
|
| -
|
| - ASM_LOCATION("StoreStubCompiler::CompileStoreGlobal");
|
| -
|
| - // 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));
|
| - __ Ldr(scratch2(), FieldMemOperand(scratch1(),
|
| - Cell::kValueOffset));
|
| - __ JumpIfRoot(scratch2(), Heap::kTheHoleValueRootIndex, &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,
|
|
|