Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index 4ed4f76c34fbf6004d37361f016e5e2ed8453203..7c1230032c5e2b660c114d20da2d5e712b77b31a 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -1310,25 +1310,23 @@ bool Shell::SetOptions(int argc, char* argv[]) { |
} else if (strncmp(argv[i], "--icu-data-file=", 16) == 0) { |
options.icu_data_file = argv[i] + 16; |
argv[i] = NULL; |
- } |
#ifdef V8_SHARED |
- else if (strcmp(argv[i], "--dump-counters") == 0) { |
+ } else if (strcmp(argv[i], "--dump-counters") == 0) { |
printf("D8 with shared library does not include counters\n"); |
return false; |
} else if (strcmp(argv[i], "--debugger") == 0) { |
printf("Javascript debugger not included\n"); |
return false; |
- } |
#endif // V8_SHARED |
#ifdef V8_USE_EXTERNAL_STARTUP_DATA |
- else if (strncmp(argv[i], "--natives_blob=", 15) == 0) { |
+ } else if (strncmp(argv[i], "--natives_blob=", 15) == 0) { |
options.natives_blob = argv[i] + 15; |
argv[i] = NULL; |
} else if (strncmp(argv[i], "--snapshot_blob=", 16) == 0) { |
options.snapshot_blob = argv[i] + 16; |
argv[i] = NULL; |
- } |
#endif // V8_USE_EXTERNAL_STARTUP_DATA |
+ } |
} |
v8::V8::SetFlagsFromCommandLine(&argc, argv, true); |