| 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 ee8a906ff7956c9048fb003b7a8e3dfbaf2963ec..32a37e9d159594978fbaa2c70b07131d1df283ae 100644 | 
| --- a/src/ic/mips/handler-compiler-mips.cc | 
| +++ b/src/ic/mips/handler-compiler-mips.cc | 
| @@ -167,10 +167,7 @@ void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( | 
|  | 
| void NamedLoadHandlerCompiler::GenerateDirectLoadGlobalFunctionPrototype( | 
| MacroAssembler* masm, int index, Register result, Label* miss) { | 
| -  const int offset = Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX); | 
| -  __ lw(result, MemOperand(cp, offset)); | 
| -  __ lw(result, FieldMemOperand(result, JSGlobalObject::kNativeContextOffset)); | 
| -  __ lw(result, MemOperand(result, Context::SlotOffset(index))); | 
| +  __ LoadNativeContextSlot(index, result); | 
| // Load its initial map. The global functions all have initial maps. | 
| __ lw(result, | 
| FieldMemOperand(result, JSFunction::kPrototypeOrInitialMapOffset)); | 
|  |