| OLD | NEW |
| 1 # Copyright 2016 the V8 project authors. All rights reserved. | 1 # Copyright 2016 the V8 project authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # Use this to run several variants of the tests. | 5 # Use this to run several variants of the tests. |
| 6 ALL_VARIANT_FLAGS = { | 6 ALL_VARIANT_FLAGS = { |
| 7 "default": [[]], | 7 "default": [[]], |
| 8 "stress": [["--stress-opt", "--always-opt"]], | 8 "stress": [["--stress-opt", "--always-opt"]], |
| 9 "turbofan": [["--turbo"]], | 9 "turbofan": [["--turbo"]], |
| 10 "turbofan_opt": [["--turbo", "--always-opt"]], | 10 "turbofan_opt": [["--turbo", "--always-opt"]], |
| 11 "nocrankshaft": [["--nocrankshaft"]], | 11 "nocrankshaft": [["--nocrankshaft"]], |
| 12 "ignition": [["--ignition"]], | 12 "ignition": [["--ignition"]], |
| 13 "ignition_staging": [["--ignition-staging"]], | 13 "ignition_staging": [["--ignition-staging"]], |
| 14 "ignition_turbofan": [["--ignition-staging", "--turbo"]], | 14 "ignition_turbofan": [["--ignition-staging", "--turbo"]], |
| 15 "preparser": [["--min-preparse-length=0"]], | 15 "preparser": [["--min-preparse-length=0"]], |
| 16 "asm_wasm": [["--validate-asm"]], | 16 "asm_wasm": [["--validate-asm"]], |
| 17 "wasm_traps": [["--wasm_guard_pages", "--invoke-weak-callbacks"]], |
| 17 } | 18 } |
| 18 | 19 |
| 19 # FAST_VARIANTS implies no --always-opt. | 20 # FAST_VARIANTS implies no --always-opt. |
| 20 FAST_VARIANT_FLAGS = { | 21 FAST_VARIANT_FLAGS = { |
| 21 "default": [[]], | 22 "default": [[]], |
| 22 "stress": [["--stress-opt"]], | 23 "stress": [["--stress-opt"]], |
| 23 "turbofan": [["--turbo"]], | 24 "turbofan": [["--turbo"]], |
| 24 "nocrankshaft": [["--nocrankshaft"]], | 25 "nocrankshaft": [["--nocrankshaft"]], |
| 25 "ignition": [["--ignition"]], | 26 "ignition": [["--ignition"]], |
| 26 "ignition_staging": [["--ignition-staging"]], | 27 "ignition_staging": [["--ignition-staging"]], |
| 27 "ignition_turbofan": [["--ignition-staging", "--turbo"]], | 28 "ignition_turbofan": [["--ignition-staging", "--turbo"]], |
| 28 "preparser": [["--min-preparse-length=0"]], | 29 "preparser": [["--min-preparse-length=0"]], |
| 29 "asm_wasm": [["--validate-asm"]], | 30 "asm_wasm": [["--validate-asm"]], |
| 31 "wasm_traps": [["--wasm_guard_pages", "--invoke-weak-callbacks"]], |
| 30 } | 32 } |
| 31 | 33 |
| 32 ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt", | 34 ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt", |
| 33 "nocrankshaft", "ignition", "ignition_staging", | 35 "nocrankshaft", "ignition", "ignition_staging", |
| 34 "ignition_turbofan", "preparser", "asm_wasm"]) | 36 "ignition_turbofan", "preparser", "asm_wasm", "wasm_traps"]) |
| OLD | NEW |