Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 46342e175a2377115ac4b6e42161d89009e9b7ee..61e140eb59ddfc91a03c9ed26dec11a09b1ffef1 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -1449,7 +1449,7 @@ inline Operand ContextOperand(Register context, int index) { |
inline Operand GlobalObjectOperand() { |
- return ContextOperand(rsi, Context::GLOBAL_INDEX); |
+ return ContextOperand(rsi, Context::GLOBAL_OBJECT_INDEX); |
} |