Index: tools/parser-shell.cc |
diff --git a/tools/parser-shell.cc b/tools/parser-shell.cc |
index f3a3f49547aef7fabe8da5012cb1266ec09307c5..73e4a416013a0eb7ed35d3173af4ab4f199b60e4 100644 |
--- a/tools/parser-shell.cc |
+++ b/tools/parser-shell.cc |
@@ -37,7 +37,7 @@ |
#include "src/api.h" |
#include "src/compiler.h" |
#include "src/parsing/parse-info.h" |
-#include "src/parsing/parser.h" |
+#include "src/parsing/parsing.h" |
#include "src/parsing/preparse-data-format.h" |
#include "src/parsing/preparse-data.h" |
#include "src/parsing/preparser.h" |
@@ -99,7 +99,7 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser( |
info.set_compile_options(v8::ScriptCompiler::kProduceParserCache); |
v8::base::ElapsedTimer timer; |
timer.Start(); |
- bool success = Parser::ParseStatic(&info); |
+ bool success = parsing::ParseProgram(&info); |
parse_time1 = timer.Elapsed(); |
if (!success) { |
fprintf(stderr, "Parsing failed\n"); |
@@ -114,7 +114,7 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser( |
info.set_compile_options(v8::ScriptCompiler::kConsumeParserCache); |
v8::base::ElapsedTimer timer; |
timer.Start(); |
- bool success = Parser::ParseStatic(&info); |
+ bool success = parsing::ParseProgram(&info); |
parse_time2 = timer.Elapsed(); |
if (!success) { |
fprintf(stderr, "Parsing failed\n"); |