Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index 24dfceb05eb7225e9c395a2206f820b370a18590..f7d1c12c5c111309d981a1454fabac783371160c 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -772,10 +772,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); |