| Index: src/ic/mips64/handler-compiler-mips64.cc
|
| diff --git a/src/ic/mips64/handler-compiler-mips64.cc b/src/ic/mips64/handler-compiler-mips64.cc
|
| index 52204dd563355e139969bdb6d2e46a989ba74749..b7a26d5d96d7fa40a643dda16ad502579451e4bd 100644
|
| --- a/src/ic/mips64/handler-compiler-mips64.cc
|
| +++ b/src/ic/mips64/handler-compiler-mips64.cc
|
| @@ -488,7 +488,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.
|
| __ ld(scratch1, FieldMemOperand(reg, HeapObject::kMapOffset));
|
| Handle<WeakCell> cell = Map::WeakCellForMap(current_map);
|
|
|