| Index: src/stub-cache.h
|
| diff --git a/src/stub-cache.h b/src/stub-cache.h
|
| index 105a46d242cc7c4a4c7fe7f11eb37f391dd34871..4f6fc6bb32a185bc5dcd0d7a96a3d96e93e62e1e 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() const { 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;
|
|
|