Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 62b673f5b2c4c7d51a51088257ea3c3694718cfd..53207b76d0e9ebf316a4cd3e28c1243eff364ffd 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -4549,7 +4549,7 @@ MaybeObject* Heap::AllocateJSObjectWithAllocationSite(JSFunction* constructor, |
// advice |
Map* initial_map = constructor->initial_map(); |
- Smi* smi = Smi::cast(allocation_site->payload()); |
+ Smi* smi = Smi::cast(allocation_site->transition_info()); |
ElementsKind to_kind = static_cast<ElementsKind>(smi->value()); |
AllocationSiteMode mode = TRACK_ALLOCATION_SITE; |
if (to_kind != initial_map->elements_kind()) { |