| Index: vm/object.h
|
| ===================================================================
|
| --- vm/object.h (revision 6972)
|
| +++ vm/object.h (working copy)
|
| @@ -1942,7 +1942,7 @@
|
| // only be created using the Code::FinalizeCode method. This method creates
|
| // the RawInstruction and RawCode objects, sets up the pointer offsets
|
| // and links the two in a GC safe manner.
|
| - static RawInstructions* New(intptr_t size);
|
| + static RawInstructions* New(intptr_t size, Heap::Space space);
|
|
|
| HEAP_OBJECT_IMPLEMENTATION(Instructions, Object);
|
| friend class Code;
|
| @@ -2248,6 +2248,7 @@
|
| sizeof(RawCode) + (pointer_offsets_length * kEntrySize));
|
| }
|
| static RawCode* FinalizeCode(const char* name, Assembler* assembler);
|
| + static RawCode* FinalizeStubCode(const char* name, Assembler* assembler);
|
|
|
| int32_t GetPointerOffsetAt(int index) const {
|
| return *PointerOffsetAddrAt(index);
|
| @@ -2295,6 +2296,10 @@
|
| // and links the two in a GC safe manner.
|
| static RawCode* New(int pointer_offsets_length);
|
|
|
| + static RawCode* FinalizeCode(const char* name,
|
| + Assembler* assembler,
|
| + Heap::Space space);
|
| +
|
| HEAP_OBJECT_IMPLEMENTATION(Code, Object);
|
| friend class Class;
|
| };
|
|
|