diff options
Diffstat (limited to 'deps/v8/src/objects/heap-object-inl.h')
-rw-r--r-- | deps/v8/src/objects/heap-object-inl.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/deps/v8/src/objects/heap-object-inl.h b/deps/v8/src/objects/heap-object-inl.h index be97f8bb79..3d5deeff63 100644 --- a/deps/v8/src/objects/heap-object-inl.h +++ b/deps/v8/src/objects/heap-object-inl.h @@ -9,7 +9,7 @@ #include "src/heap/heap-write-barrier-inl.h" // TODO(jkummerow): Get rid of this by moving NROSO::GetIsolate elsewhere. -#include "src/isolate.h" +#include "src/execution/isolate.h" // Has to be the last include (doesn't have include guards): #include "src/objects/object-macros.h" @@ -17,9 +17,6 @@ namespace v8 { namespace internal { -OBJECT_CONSTRUCTORS_IMPL(HeapObject, Object) -CAST_ACCESSOR(HeapObject) - HeapObject::HeapObject(Address ptr, AllowInlineSmiStorage allow_smi) : Object(ptr) { SLOW_DCHECK( @@ -28,12 +25,6 @@ HeapObject::HeapObject(Address ptr, AllowInlineSmiStorage allow_smi) } // static -HeapObject HeapObject::FromAddress(Address address) { - DCHECK_TAG_ALIGNED(address); - return HeapObject(address + kHeapObjectTag); -} - -// static Heap* NeverReadOnlySpaceObject::GetHeap(const HeapObject object) { return GetHeapFromWritableObject(object); } |