Chromium Code Reviews| Index: src/compiler/typer.h |
| diff --git a/src/compiler/typer.h b/src/compiler/typer.h |
| index b65a9a5aff09edb1c5a13f4cc1df494b70d4e574..6baf9697319ab0e5e3b2e4a1a59722a3373bc9c3 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); |
| + explicit Typer(Isolate* isolate, Graph* graph, MaybeHandle<Context> context); |
|
Michael Starzinger
2015/01/23 14:21:10
nit: No longer needs to be marked "explicit".
danno
2015/01/23 14:45:20
Done.
|
| ~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_; |