Index: src/profiler/heap-profiler.h |
diff --git a/src/profiler/heap-profiler.h b/src/profiler/heap-profiler.h |
index d6fcbbdaca7e60d9d78e026d7ff44e76bba156ed..9a04e83af4b0ca2f3725f8a10fcdabd322ba41b7 100644 |
--- a/src/profiler/heap-profiler.h |
+++ b/src/profiler/heap-profiler.h |
@@ -66,6 +66,8 @@ class HeapProfiler { |
Handle<HeapObject> FindHeapObjectById(SnapshotObjectId id); |
void ClearHeapObjectMap(); |
+ Isolate* isolate() const { return heap()->isolate(); } |
+ |
private: |
Heap* heap() const; |