Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index 8f3dd0e145353407a3dacbc26f773cd0765ac974..91c68d688601c515967280261fbc4934d7e3d7fc 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -640,6 +640,14 @@ 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 result_end, |
+ AllocationFlags flags); |
+ void FastAllocate(Register object_size, Register result, Register result_end, |
+ AllocationFlags flags); |
+ |
// Allocate a heap number in new space with undefined value. The |
// register scratch2 can be passed as no_reg; the others must be |
// valid registers. Returns tagged pointer in result register, or |