mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.5 KiB
32 lines
1.5 KiB
# Copyright 2016 the V8 project authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# Use this to run several variants of the tests.
|
|
ALL_VARIANT_FLAGS = {
|
|
"default": [[]],
|
|
"stress": [["--stress-opt", "--always-opt"]],
|
|
"fullcode": [["--noopt", "--stress-fullcodegen"]],
|
|
# No optimization means disable all optimizations. OptimizeFunctionOnNextCall
|
|
# would not force optimization too. It turns into a Nop. Please see
|
|
# https://chromium-review.googlesource.com/c/452620/ for more discussion.
|
|
"nooptimization": [["--noopt"]],
|
|
"asm_wasm": [["--validate-asm", "--stress-validate-asm", "--suppress-asm-messages"]],
|
|
"wasm_traps": [["--wasm_guard_pages", "--wasm_trap_handler", "--invoke-weak-callbacks"]],
|
|
}
|
|
|
|
# FAST_VARIANTS implies no --always-opt.
|
|
FAST_VARIANT_FLAGS = {
|
|
"default": [[]],
|
|
"stress": [["--stress-opt"]],
|
|
"fullcode": [["--noopt", "--stress-fullcodegen"]],
|
|
# No optimization means disable all optimizations. OptimizeFunctionOnNextCall
|
|
# would not force optimization too. It turns into a Nop. Please see
|
|
# https://chromium-review.googlesource.com/c/452620/ for more discussion.
|
|
"nooptimization": [["--noopt"]],
|
|
"asm_wasm": [["--validate-asm", "--stress-validate-asm", "--suppress-asm-messages"]],
|
|
"wasm_traps": [["--wasm_guard_pages", "--wasm_trap_handler", "--invoke-weak-callbacks"]],
|
|
}
|
|
|
|
ALL_VARIANTS = set(["default", "stress", "fullcode", "nooptimization",
|
|
"asm_wasm", "wasm_traps"])
|
|
|