Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index 95592183429c184b0368ea5b33e47b169c341a68..24170252daed50006d2caaeb58173b7177f31d20 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -555,6 +555,15 @@ class MacroAssembler: public Assembler { |
void Allocate(Register object_size, Register result, Register result_new, |
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, |