| Index: src/mips64/macro-assembler-mips64.cc
|
| diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc
|
| index 9174680011b1d176c7a2bc720b8d89b765b483f9..3cad6ba82fe5bf8abfd8a3a65e10efba030438b9 100644
|
| --- a/src/mips64/macro-assembler-mips64.cc
|
| +++ b/src/mips64/macro-assembler-mips64.cc
|
| @@ -439,7 +439,7 @@ void MacroAssembler::CheckAccessGlobalProxy(Register holder_reg,
|
| int offset =
|
| Context::kHeaderSize + Context::GLOBAL_OBJECT_INDEX * kPointerSize;
|
| ld(scratch, FieldMemOperand(scratch, offset));
|
| - ld(scratch, FieldMemOperand(scratch, GlobalObject::kNativeContextOffset));
|
| + ld(scratch, FieldMemOperand(scratch, JSGlobalObject::kNativeContextOffset));
|
|
|
| // Check the context is a native context.
|
| if (emit_debug_code()) {
|
| @@ -4781,7 +4781,7 @@ void MacroAssembler::GetBuiltinFunction(Register target,
|
| int native_context_index) {
|
| // Load the builtins object into target register.
|
| ld(target, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
|
| - ld(target, FieldMemOperand(target, GlobalObject::kNativeContextOffset));
|
| + ld(target, FieldMemOperand(target, JSGlobalObject::kNativeContextOffset));
|
| // Load the JavaScript builtin function from the builtins object.
|
| ld(target, ContextOperand(target, native_context_index));
|
| }
|
| @@ -4931,7 +4931,7 @@ void MacroAssembler::LoadContext(Register dst, int context_chain_length) {
|
|
|
| void MacroAssembler::LoadGlobalProxy(Register dst) {
|
| ld(dst, GlobalObjectOperand());
|
| - ld(dst, FieldMemOperand(dst, GlobalObject::kGlobalProxyOffset));
|
| + ld(dst, FieldMemOperand(dst, JSGlobalObject::kGlobalProxyOffset));
|
| }
|
|
|
|
|
| @@ -4944,7 +4944,7 @@ void MacroAssembler::LoadTransitionedArrayMapConditional(
|
| // Load the global or builtins object from the current context.
|
| ld(scratch,
|
| MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
|
| - ld(scratch, FieldMemOperand(scratch, GlobalObject::kNativeContextOffset));
|
| + ld(scratch, FieldMemOperand(scratch, JSGlobalObject::kNativeContextOffset));
|
|
|
| // Check that the function's map is the same as the expected cached map.
|
| ld(scratch,
|
| @@ -4966,8 +4966,7 @@ void MacroAssembler::LoadGlobalFunction(int index, Register function) {
|
| ld(function,
|
| MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
|
| // Load the native context from the global or builtins object.
|
| - ld(function, FieldMemOperand(function,
|
| - GlobalObject::kNativeContextOffset));
|
| + ld(function, FieldMemOperand(function, JSGlobalObject::kNativeContextOffset));
|
| // Load the function from the native context.
|
| ld(function, MemOperand(function, Context::SlotOffset(index)));
|
| }
|
|
|