Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index 6e12b671cda43ee85b3fd27fbea736b2fc0d6b7a..a1d1e8c3393d2cbc79a93628d230f736e60f69fd 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -500,8 +500,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, |
@@ -1379,7 +1379,7 @@ inline MemOperand ContextOperand(Register context, int index) { |
inline MemOperand GlobalObjectOperand() { |
- return ContextOperand(cp, Context::GLOBAL_OBJECT_INDEX); |
+ return ContextOperand(cp, Context::GLOBAL_INDEX); |
} |