Chromium Code Reviews| Index: runtime/vm/object.h |
| =================================================================== |
| --- runtime/vm/object.h (revision 40925) |
| +++ runtime/vm/object.h (working copy) |
| @@ -315,8 +315,6 @@ |
| bool IsNotTemporaryScopedHandle() const; |
| - static RawObject* Clone(const Object& src, Heap::Space space = Heap::kNew); |
| - |
| static Object& Handle(Isolate* isolate, RawObject* raw_ptr) { |
| Object* obj = reinterpret_cast<Object*>(VMHandles::AllocateHandle(isolate)); |
| initializeHandle(obj, raw_ptr); |
| @@ -619,6 +617,9 @@ |
| void UnimplementedMethod() const; |
| #undef STORE_NON_POINTER_ILLEGAL_TYPE |
| + // Allocate an object and copy the body of 'src', but not its header. |
|
Ivan Posva
2014/10/10 20:59:04
", but not its header" is redundant.
|
| + static RawObject* Clone(const Object& src, Heap::Space space); |
| + |
| RawObject* raw_; // The raw object reference. |
| protected: |