Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index f0d30a98d3411487100c38c8135ee2069ff4a800..aab710a5cbafe97e4fbd4e7c2e297c1c9a670b43 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -2169,6 +2169,10 @@ int Shell::RunMain(Isolate* isolate, int argc, char* argv[]) { |
int Shell::Main(int argc, char* argv[]) { |
if (!SetOptions(argc, argv)) return 1; |
+#ifndef V8_SHARED |
+ i::FLAG_harmony_array_buffer = true; |
+ i::FLAG_harmony_typed_arrays = true; |
+#endif |
int result = 0; |
Isolate* isolate = Isolate::GetCurrent(); |
DumbLineEditor dumb_line_editor(isolate); |