| Index: src/arm/macro-assembler-arm.h
|
| diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h
|
| index 8a0ff62910827609a2dda5217972f59f4312276f..e22155f076aa5c9ef00f6d27d3e028b1c692b792 100644
|
| --- a/src/arm/macro-assembler-arm.h
|
| +++ b/src/arm/macro-assembler-arm.h
|
| @@ -783,6 +783,15 @@ class MacroAssembler: public Assembler {
|
| void Allocate(Register object_size, Register result, Register result_end,
|
| Register scratch, Label* gc_required, AllocationFlags flags);
|
|
|
| + // FastAllocate is right now only used for folded allocations. It just
|
| + // increments the top pointer without checking against limit. This can only
|
| + // be done if it was proved earlier that the allocation will succeed.
|
| + void FastAllocate(int object_size, Register result, Register scratch1,
|
| + Register scratch2, AllocationFlags flags);
|
| +
|
| + void FastAllocate(Register object_size, Register result, Register result_end,
|
| + Register scratch, AllocationFlags flags);
|
| +
|
| void AllocateTwoByteString(Register result,
|
| Register length,
|
| Register scratch1,
|
|
|