| Index: src/arm/macro-assembler-arm.h
|
| diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h
|
| index 30a617b634823a2a8cb6c3eab73775bc74748a00..7cf5d9a933237bfd6b9b54caa82badc0916fa1bc 100644
|
| --- a/src/arm/macro-assembler-arm.h
|
| +++ b/src/arm/macro-assembler-arm.h
|
| @@ -539,6 +539,8 @@ class MacroAssembler: public Assembler {
|
| LowDwVfpRegister double_scratch1,
|
| Label* not_int32);
|
|
|
| + // Generates function and stub prologue code.
|
| + void Prologue(PrologueFrameMode frame_mode);
|
|
|
| // Enter exit frame.
|
| // stack_space - extra stack space, used for alignment before call to C.
|
| @@ -1388,9 +1390,20 @@ class MacroAssembler: public Assembler {
|
| // to another type.
|
| // On entry, receiver_reg should point to the array object.
|
| // scratch_reg gets clobbered.
|
| - // If allocation info is present, condition flags are set to eq
|
| + // If allocation info is present, condition flags are set to eq.
|
| void TestJSArrayForAllocationMemento(Register receiver_reg,
|
| - Register scratch_reg);
|
| + Register scratch_reg,
|
| + Label* no_memento_found);
|
| +
|
| + void JumpIfJSArrayHasAllocationMemento(Register receiver_reg,
|
| + Register scratch_reg,
|
| + Label* memento_found) {
|
| + Label no_memento_found;
|
| + TestJSArrayForAllocationMemento(receiver_reg, scratch_reg,
|
| + &no_memento_found);
|
| + b(eq, memento_found);
|
| + bind(&no_memento_found);
|
| + }
|
|
|
| private:
|
| void CallCFunctionHelper(Register function,
|
|
|