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 78dbfa452cab21c1ed30879e0294bc46ab6b9191..a4c06079051c48cf63f453657d5f34e7f6131a45 100644 |
--- a/src/ic/arm/handler-compiler-arm.cc |
+++ b/src/ic/arm/handler-compiler-arm.cc |
@@ -497,8 +497,7 @@ |
// Log the check depth. |
LOG(isolate(), IntEvent("check-maps-depth", depth + 1)); |
- if (!current_map->IsJSGlobalObjectMap() && |
- (depth != 0 || check == CHECK_ALL_MAPS)) { |
+ if (depth != 0 || check == CHECK_ALL_MAPS) { |
// Check the holder map. |
__ ldr(scratch1, FieldMemOperand(reg, HeapObject::kMapOffset)); |
Handle<WeakCell> cell = Map::WeakCellForMap(current_map); |