| Index: src/stub-cache.h
|
| diff --git a/src/stub-cache.h b/src/stub-cache.h
|
| index 19c4bac282d0a038b60965c5ef8061e710ced593..793f58185f2ea2d70c99bab21cf388cc3b36ded2 100644
|
| --- a/src/stub-cache.h
|
| +++ b/src/stub-cache.h
|
| @@ -322,6 +322,8 @@ class StubCache {
|
| return NULL;
|
| }
|
|
|
| + Isolate* isolate() { return isolate_; }
|
| + Heap* heap() { return isolate()->heap(); }
|
|
|
| private:
|
| explicit StubCache(Isolate* isolate);
|
| @@ -559,6 +561,8 @@ class StubCompiler BASE_EMBEDDED {
|
| LookupResult* lookup);
|
|
|
| Isolate* isolate() { return scope_.isolate(); }
|
| + Heap* heap() { return isolate()->heap(); }
|
| + Factory* factory() { return isolate()->factory(); }
|
|
|
| private:
|
| HandleScope scope_;
|
|
|