| Index: src/ic/ic.cc | 
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc | 
| index d9fb716ab26b2756300b4deb274de9a062427b4d..a88746eb8e3dc9b0daf52e24e32eed2f0538b296 100644 | 
| --- a/src/ic/ic.cc | 
| +++ b/src/ic/ic.cc | 
| @@ -862,7 +862,7 @@ int InitPrototypeChecks(Isolate* isolate, Handle<Map> receiver_map, | 
| DCHECK(holder->HasFastProperties()); | 
|  | 
| // The following kinds of receiver maps require custom handler compilation. | 
| -  if (receiver_map->IsPrimitiveMap() || receiver_map->IsJSGlobalObjectMap()) { | 
| +  if (receiver_map->IsJSGlobalObjectMap()) { | 
| return -1; | 
| } | 
| // We don't encode the requirement to check access rights because we already | 
|  |