Index: tools/parser-shell.cc |
diff --git a/tools/parser-shell.cc b/tools/parser-shell.cc |
index 2cafc838e1161e63500ac70bc409dab555b1f373..3e41bf94bb2a04dd03e70288cf43693983b795fc 100644 |
--- a/tools/parser-shell.cc |
+++ b/tools/parser-shell.cc |
@@ -95,7 +95,7 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser( |
v8::base::ElapsedTimer timer; |
timer.Start(); |
// Allow lazy parsing; otherwise we won't produce cached data. |
- bool success = Parser::Parse(&info, true); |
+ bool success = Parser::ParseStatic(&info, true); |
parse_time1 = timer.Elapsed(); |
if (!success) { |
fprintf(stderr, "Parsing failed\n"); |
@@ -111,7 +111,7 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser( |
v8::base::ElapsedTimer timer; |
timer.Start(); |
// Allow lazy parsing; otherwise cached data won't help. |
- bool success = Parser::Parse(&info, true); |
+ bool success = Parser::ParseStatic(&info, true); |
parse_time2 = timer.Elapsed(); |
if (!success) { |
fprintf(stderr, "Parsing failed\n"); |