Index: src/compiler/typer.h |
diff --git a/src/compiler/typer.h b/src/compiler/typer.h |
index 5c59b5610bf8ab2bcb795873942067a2c6a659ed..f5ef4f15535821c5ab5a43a323b35050651e78cc 100644 |
--- a/src/compiler/typer.h |
+++ b/src/compiler/typer.h |
@@ -18,8 +18,8 @@ class TyperCache; |
class Typer { |
public: |
- Typer(Isolate* isolate, Graph* graph, Type::FunctionType* function_type, |
- MaybeHandle<Context> context); |
+ Typer(Isolate* isolate, Graph* graph, |
+ Type::FunctionType* function_type = nullptr); |
~Typer(); |
void Run(); |
@@ -31,7 +31,6 @@ class Typer { |
class Decorator; |
Graph* graph() const { return graph_; } |
- MaybeHandle<Context> context() const { return context_; } |
Zone* zone() const { return graph()->zone(); } |
Isolate* isolate() const { return isolate_; } |
Type::FunctionType* function_type() const { return function_type_; } |
@@ -39,7 +38,6 @@ class Typer { |
Isolate* const isolate_; |
Graph* const graph_; |
Type::FunctionType* function_type_; |
- MaybeHandle<Context> const context_; |
Decorator* decorator_; |
TyperCache const& cache_; |