| Index: src/arm64/macro-assembler-arm64.cc
|
| diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc
|
| index f2ca92bd785596cfc300d2e0039a63b6b210e66c..c7a61ea67a41830e9b2249b991c005ed421b3650 100644
|
| --- a/src/arm64/macro-assembler-arm64.cc
|
| +++ b/src/arm64/macro-assembler-arm64.cc
|
| @@ -4087,7 +4087,7 @@ void MacroAssembler::CheckAccessGlobalProxy(Register holder_reg,
|
|
|
| // Check the context is a native context.
|
| if (emit_debug_code()) {
|
| - // Read the first word and compare to the global_context_map.
|
| + // Read the first word and compare to the native_context_map.
|
| Ldr(scratch2, FieldMemOperand(scratch1, HeapObject::kMapOffset));
|
| CompareRoot(scratch2, Heap::kNativeContextMapRootIndex);
|
| Check(eq, kExpectedNativeContext);
|
|
|