Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index feacefd68df18d79604da8a1a03af2a2ac9981d1..0b1fe09ed249aa6aa2bbb5911e33a8abe51ba4b7 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -2040,7 +2040,7 @@ HOptimizedGraphBuilder::HOptimizedGraphBuilder(CompilationInfo* info) |
// constructor for the initial state relies on function_state_ == NULL |
// to know it's the initial state. |
function_state_= &initial_function_state_; |
- InitializeAstVisitor(); |
+ InitializeAstVisitor(info->isolate()); |
} |