Index: src/mips64/macro-assembler-mips64.h |
diff --git a/src/mips64/macro-assembler-mips64.h b/src/mips64/macro-assembler-mips64.h |
index 7aa4a51488339a125e15ef26123755b3bffa2521..27a34b32bfa12f6a9110214ffdee5a86b6ff8459 100644 |
--- a/src/mips64/macro-assembler-mips64.h |
+++ b/src/mips64/macro-assembler-mips64.h |
@@ -587,6 +587,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_new, |
+ Register scratch, AllocationFlags flags); |
+ |
void AllocateTwoByteString(Register result, |
Register length, |
Register scratch1, |