Chromium Code Reviews| Index: src/objects-inl.h |
| diff --git a/src/objects-inl.h b/src/objects-inl.h |
| index a824b3b25479fe911bd9afb7ee528cc4ac40a564..6cbe48423a7c6d3cf854f5814a702b6b490c5491 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); |