Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 3a833c520e89569cc5dab526ef05c657fabd937e..db0fd7be7d10a50125b308bbcd782c96c40558b0 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -488,7 +488,9 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() { |
} |
// Type-check the function. |
- AstTyper(info()).Run(); |
+ AstTyper(info()->isolate(), info()->zone(), info()->closure(), |
+ info()->scope(), info()->osr_ast_id(), info()->literal()) |
+ .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. |