Chromium Code Reviews| Index: src/ia32/macro-assembler-ia32.h |
| diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
| index fc91d7c3dfc61c95e92bfb0ec8a4b21982e3dd5f..8e4232dfaa1bab07b855af8013e9e9c0304c0401 100644 |
| --- a/src/ia32/macro-assembler-ia32.h |
| +++ b/src/ia32/macro-assembler-ia32.h |
| @@ -221,10 +221,21 @@ class MacroAssembler: public Assembler { |
| // Find the function context up the context chain. |
| 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 a new Arrays from a JSFunction. |
|
Michael Starzinger
2012/02/01 08:53:26
Drop the "a" in the comment.
danno
2012/02/06 14:13:14
Done.
|
| + void LoadInitialArrayMap(Register function_in, |
| + Register scratch, |
| + Register map_out); |
| // Load the global function with the given index. |
| void LoadGlobalFunction(int index, Register function); |