Index: src/ia32/macro-assembler-ia32.h |
=================================================================== |
--- src/ia32/macro-assembler-ia32.h (revision 4616) |
+++ src/ia32/macro-assembler-ia32.h (working copy) |
@@ -33,6 +33,17 @@ |
namespace v8 { |
namespace internal { |
+// Flags used for the AllocateInNewSpace functions. |
+enum AllocationFlags { |
+ // No special flags. |
+ NO_ALLOCATION_FLAGS = 0, |
+ // Return the pointer to the allocated already tagged as a heap object. |
+ TAG_OBJECT = 1 << 0, |
+ // The content of the result register already contains the allocation top in |
+ // new space. |
+ RESULT_CONTAINS_TOP = 1 << 1 |
+}; |
+ |
// Convenience for platform-independent signatures. We do not normally |
// distinguish memory operands from other operands on ia32. |
typedef Operand MemOperand; |