Index: src/compiler/typer.h |
diff --git a/src/compiler/typer.h b/src/compiler/typer.h |
index b65a9a5aff09edb1c5a13f4cc1df494b70d4e574..ad488afd54e9f7ebbd8abaddb5ecb24514c6abae 100644 |
--- a/src/compiler/typer.h |
+++ b/src/compiler/typer.h |
@@ -21,7 +21,7 @@ class LazyTypeCache; |
class Typer { |
public: |
- explicit Typer(Graph* graph, MaybeHandle<Context> context); |
+ Typer(Isolate* isolate, Graph* graph, MaybeHandle<Context> context); |
~Typer(); |
void Run(); |
@@ -29,12 +29,13 @@ class Typer { |
Graph* graph() { return graph_; } |
MaybeHandle<Context> context() { return context_; } |
Zone* zone() { return graph_->zone(); } |
- Isolate* isolate() { return zone()->isolate(); } |
+ Isolate* isolate() { return isolate_; } |
private: |
class Visitor; |
class Decorator; |
+ Isolate* isolate_; |
Graph* graph_; |
MaybeHandle<Context> context_; |
Decorator* decorator_; |