| Index: src/mips/builtins-mips.cc | 
| diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc | 
| index 187d3403ab2ef850bc1f3c426dbd2c7f583dfbaf..496340dd55d17048f6f543cc89a389add0925142 100644 | 
| --- a/src/mips/builtins-mips.cc | 
| +++ b/src/mips/builtins-mips.cc | 
| @@ -73,30 +73,15 @@ void Builtins::Generate_Adaptor(MacroAssembler* masm, | 
| // Load the built-in InternalArray function from the current context. | 
| static void GenerateLoadInternalArrayFunction(MacroAssembler* masm, | 
| Register result) { | 
| -  // Load the native context. | 
| - | 
| -  __ lw(result, | 
| -        MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); | 
| -  __ lw(result, FieldMemOperand(result, JSGlobalObject::kNativeContextOffset)); | 
| // Load the InternalArray function from the native context. | 
| -  __ lw(result, | 
| -         MemOperand(result, | 
| -                    Context::SlotOffset( | 
| -                        Context::INTERNAL_ARRAY_FUNCTION_INDEX))); | 
| +  __ LoadNativeContextSlot(Context::INTERNAL_ARRAY_FUNCTION_INDEX, result); | 
| } | 
|  | 
|  | 
| // Load the built-in Array function from the current context. | 
| static void GenerateLoadArrayFunction(MacroAssembler* masm, Register result) { | 
| -  // Load the native context. | 
| - | 
| -  __ lw(result, | 
| -        MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); | 
| -  __ lw(result, FieldMemOperand(result, JSGlobalObject::kNativeContextOffset)); | 
| // Load the Array function from the native context. | 
| -  __ lw(result, | 
| -        MemOperand(result, | 
| -                   Context::SlotOffset(Context::ARRAY_FUNCTION_INDEX))); | 
| +  __ LoadNativeContextSlot(Context::ARRAY_FUNCTION_INDEX, result); | 
| } | 
|  | 
|  | 
| @@ -1749,7 +1734,7 @@ void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) { | 
| __ addu(at, sp, at); | 
| __ sw(a1, MemOperand(at)); | 
| // Let the "call_as_function_delegate" take care of the rest. | 
| -  __ LoadGlobalFunction(Context::CALL_AS_FUNCTION_DELEGATE_INDEX, a1); | 
| +  __ LoadNativeContextSlot(Context::CALL_AS_FUNCTION_DELEGATE_INDEX, a1); | 
| __ Jump(masm->isolate()->builtins()->CallFunction( | 
| ConvertReceiverMode::kNotNullOrUndefined), | 
| RelocInfo::CODE_TARGET); | 
| @@ -1834,7 +1819,7 @@ void Builtins::Generate_Construct(MacroAssembler* masm) { | 
| __ addu(at, sp, at); | 
| __ sw(a1, MemOperand(at)); | 
| // Let the "call_as_constructor_delegate" take care of the rest. | 
| -    __ LoadGlobalFunction(Context::CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, a1); | 
| +    __ LoadNativeContextSlot(Context::CALL_AS_CONSTRUCTOR_DELEGATE_INDEX, a1); | 
| __ Jump(masm->isolate()->builtins()->CallFunction(), | 
| RelocInfo::CODE_TARGET); | 
| } | 
|  |