Index: tools/parser-shell.cc |
diff --git a/tools/parser-shell.cc b/tools/parser-shell.cc |
index ce18e385304c6ab23891edc68039c944dc5680b7..2cafc838e1161e63500ac70bc409dab555b1f373 100644 |
--- a/tools/parser-shell.cc |
+++ b/tools/parser-shell.cc |
@@ -123,10 +123,11 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser( |
int main(int argc, char* argv[]) { |
+ v8::V8::SetFlagsFromCommandLine(&argc, argv, true); |
v8::V8::InitializeICU(); |
v8::Platform* platform = v8::platform::CreateDefaultPlatform(); |
v8::V8::InitializePlatform(platform); |
- v8::V8::SetFlagsFromCommandLine(&argc, argv, true); |
+ v8::V8::Initialize(); |
Encoding encoding = LATIN1; |
std::vector<std::string> fnames; |
std::string benchmark; |