Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 81a00dd18aa7ef54a4b30871eaae4647be5f14fd..ec1ff39fd9b3020c915fef8c0ea3d7f59b91c647 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -1050,7 +1050,8 @@ Handle<Code> Pipeline::GenerateCode() { |
SmartPointer<Typer> typer; |
if (info()->is_typing_enabled()) { |
// Type the graph. |
- typer.Reset(new Typer(isolate(), data.graph(), info()->context())); |
+ typer.Reset(new Typer(isolate(), data.graph(), info()->function_type(), |
+ info()->context())); |
Run<TyperPhase>(typer.get()); |
RunPrintAndVerify("Typed"); |
} |