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