| Index: src/compiler/typer.h
|
| diff --git a/src/compiler/typer.h b/src/compiler/typer.h
|
| index 66c493357e27a5122237bb44dcf218190caa652a..1a0f4500d129192884b34c1bc99762f213612dfc 100644
|
| --- a/src/compiler/typer.h
|
| +++ b/src/compiler/typer.h
|
| @@ -18,7 +18,8 @@ class LazyTypeCache;
|
|
|
| class Typer {
|
| public:
|
| - Typer(Isolate* isolate, Graph* graph, MaybeHandle<Context> context);
|
| + Typer(Isolate* isolate, Graph* graph, Type::FunctionType* function_type,
|
| + MaybeHandle<Context> context);
|
| ~Typer();
|
|
|
| void Run();
|
| @@ -29,6 +30,7 @@ class Typer {
|
| MaybeHandle<Context> context() { return context_; }
|
| Zone* zone() { return graph_->zone(); }
|
| Isolate* isolate() { return isolate_; }
|
| + Type::FunctionType* function_type() const { return function_type_; }
|
|
|
| private:
|
| class Visitor;
|
| @@ -36,6 +38,7 @@ class Typer {
|
|
|
| Isolate* isolate_;
|
| Graph* graph_;
|
| + Type::FunctionType* function_type_;
|
| MaybeHandle<Context> context_;
|
| Decorator* decorator_;
|
|
|
|
|