Chromium Code Reviews| Index: src/objects-inl.h |
| diff --git a/src/objects-inl.h b/src/objects-inl.h |
| index ee8a5285b7e07982cf8dc90325dda7899f67d21e..9260f8b54e2c562993d2e648d5d852fbe2db35b8 100644 |
| --- a/src/objects-inl.h |
| +++ b/src/objects-inl.h |
| @@ -1859,6 +1859,11 @@ AllocationSite* AllocationMemento::GetAllocationSite() { |
| } |
| +Address AllocationMemento::GetAllocationSiteUnchecked() { |
| + return reinterpret_cast<Address>(allocation_site()); |
| +} |
| + |
| + |
| void JSObject::EnsureCanContainHeapObjectElements(Handle<JSObject> object) { |
| JSObject::ValidateElements(object); |
| ElementsKind elements_kind = object->map()->elements_kind(); |