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