Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 61e140eb59ddfc91a03c9ed26dec11a09b1ffef1..d62606c6e2b9f8dfe9a6059e44872d63d24b4e82 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -1133,8 +1133,8 @@ class MacroAssembler: public Assembler { |
void LoadContext(Register dst, int context_chain_length); |
// Conditionally load the cached Array transitioned map of type |
- // transitioned_kind from the native context if the map in register |
- // map_in_out is the cached Array map in the native context of |
+ // transitioned_kind from the global context if the map in register |
+ // map_in_out is the cached Array map in the global context of |
// expected_kind. |
void LoadTransitionedArrayMapConditional( |
ElementsKind expected_kind, |
@@ -1449,7 +1449,7 @@ inline Operand ContextOperand(Register context, int index) { |
inline Operand GlobalObjectOperand() { |
- return ContextOperand(rsi, Context::GLOBAL_OBJECT_INDEX); |
+ return ContextOperand(rsi, Context::GLOBAL_INDEX); |
} |