Chromium Code Reviews| Index: src/objects-inl.h |
| diff --git a/src/objects-inl.h b/src/objects-inl.h |
| index a824b3b25479fe911bd9afb7ee528cc4ac40a564..139f3c9edcc17a4783046a777bd229a708dae556 100644 |
| --- a/src/objects-inl.h |
| +++ b/src/objects-inl.h |
| @@ -1856,6 +1856,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(); |