Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index 763e7dada5176adf7f79f527e90b63b0c6e980e9..c525d3fa7df2796fbb833053263a1a100d192778 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -961,7 +961,7 @@ inline Operand ContextOperand(Register context, int index) { |
inline Operand GlobalObjectOperand() { |
- return ContextOperand(esi, Context::GLOBAL_INDEX); |
+ return ContextOperand(esi, Context::GLOBAL_OBJECT_INDEX); |
} |