| Index: src/mips/macro-assembler-mips.cc
|
| diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc
|
| index 945dde164ed0e062c5e384581cb74bc6c2586a80..564600bc96c33c3dbcbda4450392f44c6f876c8a 100644
|
| --- a/src/mips/macro-assembler-mips.cc
|
| +++ b/src/mips/macro-assembler-mips.cc
|
| @@ -436,7 +436,7 @@ void MacroAssembler::CheckAccessGlobalProxy(Register holder_reg,
|
| int offset =
|
| Context::kHeaderSize + Context::GLOBAL_OBJECT_INDEX * kPointerSize;
|
| lw(scratch, FieldMemOperand(scratch, offset));
|
| - lw(scratch, FieldMemOperand(scratch, GlobalObject::kNativeContextOffset));
|
| + lw(scratch, FieldMemOperand(scratch, JSGlobalObject::kNativeContextOffset));
|
|
|
| // Check the context is a native context.
|
| if (emit_debug_code()) {
|
| @@ -4581,7 +4581,7 @@ void MacroAssembler::GetBuiltinFunction(Register target,
|
| int native_context_index) {
|
| // Load the builtins object into target register.
|
| lw(target, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
|
| - lw(target, FieldMemOperand(target, GlobalObject::kNativeContextOffset));
|
| + lw(target, FieldMemOperand(target, JSGlobalObject::kNativeContextOffset));
|
| // Load the JavaScript builtin function from the builtins object.
|
| lw(target, ContextOperand(target, native_context_index));
|
| }
|
| @@ -4731,7 +4731,7 @@ void MacroAssembler::LoadContext(Register dst, int context_chain_length) {
|
|
|
| void MacroAssembler::LoadGlobalProxy(Register dst) {
|
| lw(dst, GlobalObjectOperand());
|
| - lw(dst, FieldMemOperand(dst, GlobalObject::kGlobalProxyOffset));
|
| + lw(dst, FieldMemOperand(dst, JSGlobalObject::kGlobalProxyOffset));
|
| }
|
|
|
|
|
| @@ -4744,7 +4744,7 @@ void MacroAssembler::LoadTransitionedArrayMapConditional(
|
| // Load the global or builtins object from the current context.
|
| lw(scratch,
|
| MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
|
| - lw(scratch, FieldMemOperand(scratch, GlobalObject::kNativeContextOffset));
|
| + lw(scratch, FieldMemOperand(scratch, JSGlobalObject::kNativeContextOffset));
|
|
|
| // Check that the function's map is the same as the expected cached map.
|
| lw(scratch,
|
| @@ -4767,8 +4767,7 @@ void MacroAssembler::LoadGlobalFunction(int index, Register function) {
|
| lw(function,
|
| MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
|
| // Load the native context from the global or builtins object.
|
| - lw(function, FieldMemOperand(function,
|
| - GlobalObject::kNativeContextOffset));
|
| + lw(function, FieldMemOperand(function, JSGlobalObject::kNativeContextOffset));
|
| // Load the function from the native context.
|
| lw(function, MemOperand(function, Context::SlotOffset(index)));
|
| }
|
|
|