Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index 0efe8aa6be43dd11ef71658f25b745cfe8b8a102..d7dad5a5b1b4bba8a9da5792755d5fe09162619b 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -108,7 +108,7 @@ inline MemOperand ContextOperand(Register context, int index) { |
inline MemOperand GlobalObjectOperand() { |
- return ContextOperand(cp, Context::GLOBAL_OBJECT_INDEX); |
+ return ContextOperand(cp, Context::GLOBAL_INDEX); |
} |
@@ -806,8 +806,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, |