| Index: src/ic/handler-compiler.cc
|
| diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc
|
| index 077a3a9a6d7e2d0043291a7ee7d890e7d2079263..98006792cb029ebb986f31039f9e340fb6f3f8e7 100644
|
| --- a/src/ic/handler-compiler.cc
|
| +++ b/src/ic/handler-compiler.cc
|
| @@ -58,7 +58,7 @@ Handle<Code> NamedLoadHandlerCompiler::ComputeLoadNonexistent(
|
| cache_name = name;
|
| JSReceiver* prototype = JSReceiver::cast(current_map->prototype());
|
| if (!prototype->map()->is_hidden_prototype() &&
|
| - !prototype->map()->IsGlobalObjectMap()) {
|
| + !prototype->map()->IsJSGlobalObjectMap()) {
|
| break;
|
| }
|
| }
|
|
|