Chromium Code Reviews| Index: src/objects-inl.h |
| diff --git a/src/objects-inl.h b/src/objects-inl.h |
| index fea916b03292676f5f088249f161b424ceb22b95..2a3159b72a46c558ecfb87b22bf381448fef3a13 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(); |