| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 9655d383324f43e5410e2454297c0c0ea3f75fb9..6a72cb88b24bdc01e63e9e0195f6f6961bc37546 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -201,7 +201,8 @@ namespace internal {
|
| V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \
|
| V(SeededNumberDictionary, empty_slow_element_dictionary, \
|
| EmptySlowElementDictionary) \
|
| - V(Symbol, observed_symbol, ObservedSymbol)
|
| + V(Symbol, observed_symbol, ObservedSymbol) \
|
| + V(FixedArray, materialized_objects, MaterializedObjects)
|
|
|
| #define ROOT_LIST(V) \
|
| STRONG_ROOT_LIST(V) \
|
| @@ -1367,6 +1368,10 @@ class Heap {
|
| roots_[kStoreBufferTopRootIndex] = reinterpret_cast<Smi*>(top);
|
| }
|
|
|
| + void public_set_materialized_objects(FixedArray* objects) {
|
| + roots_[kMaterializedObjectsRootIndex] = objects;
|
| + }
|
| +
|
| // Generated code can embed this address to get access to the roots.
|
| Object** roots_array_start() { return roots_; }
|
|
|
|
|