Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index cb43d2f9c2ca0ce72310ea4938871667abd398b5..21daa0bf5c81dfcd5257d6050f35c336cc0a591f 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -68,6 +68,10 @@ |
#include "v8.h" |
#endif // V8_SHARED |
+#if defined(V8_I18N_SUPPORT) |
+#include "icu_util.h" |
+#endif |
+ |
#if !defined(_WIN32) && !defined(_WIN64) |
#include <unistd.h> // NOLINT |
#endif |
@@ -1582,6 +1586,9 @@ class ShellArrayBufferAllocator : public v8::ArrayBuffer::Allocator { |
int Shell::Main(int argc, char* argv[]) { |
if (!SetOptions(argc, argv)) return 1; |
+#if defined(V8_I18N_SUPPORT) |
+ InitializeICU(); |
+#endif |
#ifndef V8_SHARED |
i::FLAG_harmony_array_buffer = true; |
i::FLAG_harmony_typed_arrays = true; |