| Index: src/x64/macro-assembler-x64.h
|
| ===================================================================
|
| --- src/x64/macro-assembler-x64.h (revision 4616)
|
| +++ src/x64/macro-assembler-x64.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
|
| +};
|
| +
|
| // Default scratch register used by MacroAssembler (and other code that needs
|
| // a spare register). The register isn't callee save, and not used by the
|
| // function calling convention.
|
|
|