Index: test/cctest/compiler/test-loop-assignment-analysis.cc |
diff --git a/test/cctest/compiler/test-loop-assignment-analysis.cc b/test/cctest/compiler/test-loop-assignment-analysis.cc |
index 8da950e712df5bda6afeaa4677598236a0adf958..5f9820c72a6c2323af0477d45e125d460c927055 100644 |
--- a/test/cctest/compiler/test-loop-assignment-analysis.cc |
+++ b/test/cctest/compiler/test-loop-assignment-analysis.cc |
@@ -29,8 +29,7 @@ struct TestHelper : public HandleAndZoneScope { |
void CheckLoopAssignedCount(int expected, const char* var_name) { |
// TODO(titzer): don't scope analyze every single time. |
- ParseInfo parse_info(main_zone()); |
- parse_info.InitializeFromJSFunction(function); |
+ ParseInfo parse_info(main_zone(), function); |
CompilationInfo info(&parse_info); |
CHECK(Parser::ParseStatic(&parse_info)); |