Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index c39936cc254b531c891beb50a23cb7afdfda9333..0b7823b53bd435121cf5aa648a29339e87dd4c5f 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -468,7 +468,7 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() { |
} |
// Type-check the function. |
- AstTyper::Run(info()); |
+ AstTyper(info()).Run(); |
// Optimization could have been disabled by the parser. Note that this check |
// is only needed because the Hydrogen graph builder is missing some bailouts. |