| Index: src/ic/arm/handler-compiler-arm.cc
|
| diff --git a/src/ic/arm/handler-compiler-arm.cc b/src/ic/arm/handler-compiler-arm.cc
|
| index 3cf3a44afa0aa2ed71f348722c72e88609553f32..51ba69413624b21e3afde7fe8d2b441706909a37 100644
|
| --- a/src/ic/arm/handler-compiler-arm.cc
|
| +++ b/src/ic/arm/handler-compiler-arm.cc
|
| @@ -498,7 +498,8 @@ Register PropertyHandlerCompiler::CheckPrototypes(
|
| // Log the check depth.
|
| LOG(isolate(), IntEvent("check-maps-depth", depth + 1));
|
|
|
| - if (depth != 0 || check == CHECK_ALL_MAPS) {
|
| + if (!current_map->IsJSGlobalObjectMap() &&
|
| + (depth != 0 || check == CHECK_ALL_MAPS)) {
|
| // Check the holder map.
|
| __ ldr(scratch1, FieldMemOperand(reg, HeapObject::kMapOffset));
|
| Handle<WeakCell> cell = Map::WeakCellForMap(current_map);
|
| @@ -717,7 +718,7 @@ Register NamedStoreHandlerCompiler::value() {
|
|
|
|
|
| Handle<Code> NamedLoadHandlerCompiler::CompileLoadGlobal(
|
| - Handle<PropertyCell> cell, Handle<Name> name, bool is_configurable) {
|
| + Handle<PropertyCell> cell, Handle<Name> name) {
|
| Label miss;
|
| if (IC::ICUseVector(kind())) {
|
| PushVectorAndSlot();
|
| @@ -730,12 +731,9 @@ Handle<Code> NamedLoadHandlerCompiler::CompileLoadGlobal(
|
| __ LoadWeakValue(result, weak_cell, &miss);
|
| __ ldr(result, FieldMemOperand(result, Cell::kValueOffset));
|
|
|
| - // Check for deleted property if property can actually be deleted.
|
| - if (is_configurable) {
|
| - __ LoadRoot(ip, Heap::kTheHoleValueRootIndex);
|
| - __ cmp(result, ip);
|
| - __ b(eq, &miss);
|
| - }
|
| + __ LoadRoot(ip, Heap::kTheHoleValueRootIndex);
|
| + __ cmp(result, ip);
|
| + __ b(eq, &miss);
|
|
|
| Counters* counters = isolate()->counters();
|
| __ IncrementCounter(counters->named_load_global_stub(), 1, r1, r3);
|
|
|