Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index aa09a1c0ee7dcf32609c5d3392bbf5a25dddae25..f615cdff00fcae987d2d3b3a5bb2f5edb1dfaf77 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -969,8 +969,8 @@ inline Operand ContextOperand(Register context, Register index) { |
return Operand(context, index, times_pointer_size, Context::SlotOffset(0)); |
} |
-inline Operand GlobalObjectOperand() { |
- return ContextOperand(esi, Context::GLOBAL_OBJECT_INDEX); |
+inline Operand NativeContextOperand() { |
+ return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); |
} |
#ifdef GENERATED_CODE_COVERAGE |