| Index: src/ia32/macro-assembler-ia32.h
|
| diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h
|
| index e109b20990b99507ce17a26e966213737f6778d0..6b0573ca6eb443cbe4b47d35a71efffa90954793 100644
|
| --- a/src/ia32/macro-assembler-ia32.h
|
| +++ b/src/ia32/macro-assembler-ia32.h
|
| @@ -262,14 +262,6 @@ class MacroAssembler: public Assembler {
|
| 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,
|
| - bool can_have_holes);
|
| -
|
| - void LoadGlobalContext(Register global_context);
|
| -
|
| // Load the global function with the given index.
|
| void LoadGlobalFunction(int index, Register function);
|
|
|
| @@ -815,7 +807,7 @@ class MacroAssembler: public Assembler {
|
| // from handle and propagates exceptions. Clobbers ebx, edi and
|
| // caller-save registers. Restores context. On return removes
|
| // stack_space * kPointerSize (GCed).
|
| - void CallApiFunctionAndReturn(Address function_address,
|
| + void CallApiFunctionAndReturn(Register function_address,
|
| Address thunk_address,
|
| Operand thunk_last_arg,
|
| int stack_space,
|
| @@ -1082,6 +1074,14 @@ inline Operand FieldOperand(Register object,
|
| }
|
|
|
|
|
| +inline Operand FixedArrayElementOperand(Register array,
|
| + Register index_as_smi,
|
| + int additional_offset = 0) {
|
| + int offset = FixedArray::kHeaderSize + additional_offset * kPointerSize;
|
| + return FieldOperand(array, index_as_smi, times_half_pointer_size, offset);
|
| +}
|
| +
|
| +
|
| inline Operand ContextOperand(Register context, int index) {
|
| return Operand(context, Context::SlotOffset(index));
|
| }
|
|
|