Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 6ac8a28cb4e4923051c81bf7eefb47f5d01047e2..5c32dbd21f9f462ae9c1dac5fc3ed259b3452b2a 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -296,6 +296,8 @@ DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features") |
DEFINE_IMPLICATION(ignition_staging, ignition) |
DEFINE_IMPLICATION(ignition_staging, ignition_osr) |
DEFINE_BOOL(ignition_eager, false, "eagerly compile and parse with ignition") |
+DEFINE_BOOL(ignition_split_jobs, true, |
+ "split eager compilation tasks into multiple jobs") |
DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter") |
DEFINE_BOOL(ignition_deadcode, true, |
"use ignition dead code elimination optimizer") |
@@ -517,6 +519,10 @@ DEFINE_BOOL(wasm_loop_assignment_analysis, true, |
DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling") |
+// TODO(jochen): We should be able to split jobs even when validating. |
+// http://crbug.com/v8/5506. |
+DEFINE_NEG_IMPLICATION(validate_asm, ignition_split_jobs) |
+ |
DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") |
DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") |