 Chromium Code Reviews
 Chromium Code Reviews Issue 2047002:
  Add a flag to the ARM version of new space allocation in generated code...  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
    
  
    Issue 2047002:
  Add a flag to the ARM version of new space allocation in generated code...  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/| Index: src/arm/macro-assembler-arm.h | 
| =================================================================== | 
| --- src/arm/macro-assembler-arm.h (revision 4616) | 
| +++ src/arm/macro-assembler-arm.h (working copy) | 
| @@ -52,6 +52,19 @@ | 
| }; | 
| +// 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, | 
| + SIZE_IN_WORDS = 1 << 2 | 
| 
Vyacheslav Egorov (Chromium)
2010/05/07 13:18:26
Comment about SIZE_IN_WORDS meaning for the sake o
 | 
| +}; | 
| + | 
| + | 
| // MacroAssembler implements a collection of frequently used macros. | 
| class MacroAssembler: public Assembler { | 
| public: |