Index: src/heap-snapshot-generator.cc |
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc |
index 7e74d86ae3a8973992f9ee8ac596e6c59e9241e1..a0bcfaae00252ec22d45b06fa499a42f26de4f3a 100644 |
--- a/src/heap-snapshot-generator.cc |
+++ b/src/heap-snapshot-generator.cc |
@@ -1238,6 +1238,9 @@ void V8HeapExplorer::ExtractJSObjectReferences( |
SetInternalReference(js_fun, entry, |
"context", js_fun->context(), |
JSFunction::kContextOffset); |
+ SetInternalReference(js_fun, entry, |
+ "constant_pool", js_fun->constant_pool(), |
+ JSFunction::kConstantPoolOffset); |
for (int i = JSFunction::kNonWeakFieldsEndOffset; |
i < JSFunction::kSize; |
i += kPointerSize) { |