| Index: src/ppc/macro-assembler-ppc.h
|
| diff --git a/src/ppc/macro-assembler-ppc.h b/src/ppc/macro-assembler-ppc.h
|
| index 3384c2195689e677ec993b1d382dedb1f858766a..0d5df2fa442a402bab701dd3b14ceb09402b9860 100644
|
| --- a/src/ppc/macro-assembler-ppc.h
|
| +++ b/src/ppc/macro-assembler-ppc.h
|
| @@ -711,6 +711,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, Register scratch2,
|
| Register scratch3, Label* gc_required);
|
|
|