| Index: src/heap/heap.h
|
| diff --git a/src/heap/heap.h b/src/heap/heap.h
|
| index 6c679e6e733cafc82d38dd25f96870b67bb93136..c69a513b2fa1087c2435363a104a0b991a834255 100644
|
| --- a/src/heap/heap.h
|
| +++ b/src/heap/heap.h
|
| @@ -197,7 +197,8 @@ namespace internal {
|
| V(PropertyCell, empty_property_cell, EmptyPropertyCell) \
|
| V(Object, weak_stack_trace_list, WeakStackTraceList) \
|
| V(Object, code_stub_context, CodeStubContext) \
|
| - V(JSObject, code_stub_exports_object, CodeStubExportsObject)
|
| + V(JSObject, code_stub_exports_object, CodeStubExportsObject) \
|
| + V(FixedArray, interpreter_table, InterpreterTable)
|
|
|
| // Entries in this list are limited to Smis and are not visited during GC.
|
| #define SMI_ROOT_LIST(V) \
|
| @@ -1004,6 +1005,10 @@ class Heap {
|
| roots_[kMaterializedObjectsRootIndex] = objects;
|
| }
|
|
|
| + void public_set_interpreter_table(FixedArray* table) {
|
| + roots_[kInterpreterTableRootIndex] = table;
|
| + }
|
| +
|
| // Generated code can embed this address to get access to the roots.
|
| Object** roots_array_start() { return roots_; }
|
|
|
|
|