Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index 7c955dacb929e682c21797f06c45cabc78e9bc96..8c0f82a3117245f0e6e6a1202db20553d3de111b 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -2422,7 +2422,7 @@ int Shell::Main(int argc, char* argv[]) { |
#endif // defined(_MSC_VER) |
#endif // defined(_WIN32) || defined(_WIN64) |
if (!SetOptions(argc, argv)) return 1; |
- v8::V8::InitializeICU(options.icu_data_file); |
+ v8::V8::InitializeICUDefaultLocation(argv[0], options.icu_data_file); |
#ifndef V8_SHARED |
g_platform = i::FLAG_verify_predictable |
? new PredictablePlatform() |