Index: src/stub-cache.h |
diff --git a/src/stub-cache.h b/src/stub-cache.h |
index 105a46d242cc7c4a4c7fe7f11eb37f391dd34871..5fb81603f2187bcbea7089d27b1c84133aed6732 100644 |
--- a/src/stub-cache.h |
+++ b/src/stub-cache.h |
@@ -300,9 +300,10 @@ class StubCache { |
Isolate* isolate() { return isolate_; } |
Heap* heap() { return isolate()->heap(); } |
Factory* factory() { return isolate()->factory(); } |
+ Zone* zone() { return zone_; } |
private: |
- explicit StubCache(Isolate* isolate); |
+ StubCache(Isolate* isolate, Zone* zone); |
Handle<Code> ComputeCallInitialize(int argc, |
RelocInfo::Mode mode, |
@@ -375,6 +376,7 @@ class StubCache { |
Entry primary_[kPrimaryTableSize]; |
Entry secondary_[kSecondaryTableSize]; |
Isolate* isolate_; |
+ Zone* zone_; |
friend class Isolate; |
friend class SCTableReference; |