| Index: src/ic/mips/handler-compiler-mips.cc
|
| diff --git a/src/ic/mips/handler-compiler-mips.cc b/src/ic/mips/handler-compiler-mips.cc
|
| index 4f22c19581f7f7f32b35831849525e16703d8219..4e6b3cbaa5cb9077d3d92f9bcbf2a01de7e080a0 100644
|
| --- a/src/ic/mips/handler-compiler-mips.cc
|
| +++ b/src/ic/mips/handler-compiler-mips.cc
|
| @@ -487,7 +487,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.
|
| __ lw(scratch1, FieldMemOperand(reg, HeapObject::kMapOffset));
|
| Handle<WeakCell> cell = Map::WeakCellForMap(current_map);
|
|
|