Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index f228bdd850fd8ac9290f245a450a5e6b1ec435f3..368ca5c3fa14908f808faaff021e1754b4fcc648 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -491,10 +491,21 @@ class MacroAssembler: public Assembler { |
void LoadContext(Register dst, int context_chain_length); |
- // Load the initial map for new Arrays of a given type. |
- void LoadGlobalInitialConstructedArrayMap(Register function_in, |
- Register scratch, |
- Register map_out); |
+ // Conditionally load the cached Array transitioned map of type |
+ // 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, |
+ ElementsKind transitioned_kind, |
+ Register map_in_out, |
+ Register scratch, |
+ Label* no_map_match); |
+ |
+ // Load the initial map for new Arrays from a JSFunction. |
+ void LoadInitialArrayMap(Register function_in, |
+ Register scratch, |
+ Register map_out); |
void LoadGlobalFunction(int index, Register function); |