Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index f6f3287bfbe388c3782756d1ca99b1057e42310f..8071cb382985d40ad5462f4145f92107165434cd 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1855,6 +1855,9 @@ AllocationSite* AllocationMemento::GetAllocationSite() { |
return AllocationSite::cast(allocation_site()); |
} |
+Address AllocationMemento::GetAllocationSiteUnchecked() { |
+ return reinterpret_cast<Address>(allocation_site()); |
+} |
void JSObject::EnsureCanContainHeapObjectElements(Handle<JSObject> object) { |
JSObject::ValidateElements(object); |