| 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 a69e0f8663434740ec253905ee9dd8c94fec8af5..1824d2a7123815a6ddb1394eb57245174259eac4 100644
 | 
| --- a/src/ic/mips64/handler-compiler-mips64.cc
 | 
| +++ b/src/ic/mips64/handler-compiler-mips64.cc
 | 
| @@ -435,16 +435,6 @@ Register PropertyHandlerCompiler::CheckPrototypes(
 | 
|      current = isolate()->global_object();
 | 
|    }
 | 
|  
 | 
| -  // Check access rights to the global object.  This has to happen after
 | 
| -  // the map check so that we know that the object is actually a global
 | 
| -  // object.
 | 
| -  // This allows us to install generated handlers for accesses to the
 | 
| -  // global proxy (as opposed to using slow ICs). See corresponding code
 | 
| -  // in LookupForRead().
 | 
| -  if (receiver_map->IsJSGlobalProxyMap()) {
 | 
| -    __ CheckAccessGlobalProxy(reg, scratch2, miss);
 | 
| -  }
 | 
| -
 | 
|    Handle<JSObject> prototype = Handle<JSObject>::null();
 | 
|    Handle<Map> current_map = receiver_map;
 | 
|    Handle<Map> holder_map(holder()->map());
 | 
| @@ -453,11 +443,6 @@ Register PropertyHandlerCompiler::CheckPrototypes(
 | 
|    while (!current_map.is_identical_to(holder_map)) {
 | 
|      ++depth;
 | 
|  
 | 
| -    // Only global objects and objects that do not require access
 | 
| -    // checks are allowed in stubs.
 | 
| -    DCHECK(current_map->IsJSGlobalProxyMap() ||
 | 
| -           !current_map->is_access_check_needed());
 | 
| -
 | 
|      prototype = handle(JSObject::cast(current_map->prototype()));
 | 
|      if (current_map->IsJSGlobalObjectMap()) {
 | 
|        GenerateCheckPropertyCell(masm(), Handle<JSGlobalObject>::cast(current),
 | 
| 
 |