Sha256: c3507cede913685ff8993fa6f71d00fac731421a91cf3547d0139357e21d1a91

Contents?: true

Size: 1.85 KB

Versions: 5

Compression:

Stored size: 1.85 KB

Contents

# 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"]],
  "turbofan": [["--turbo"]],
  "turbofan_opt": [["--turbo", "--always-opt"]],
  "noturbofan": [["--no-turbo"]],
  "noturbofan_stress": [["--no-turbo", "--stress-opt", "--always-opt"]],
  "fullcode": [["--noopt", "--no-turbo"]],
  # 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"]],
  "turbofan": [["--turbo"]],
  "noturbofan": [["--no-turbo"]],
  "noturbofan_stress": [["--no-turbo", "--stress-opt"]],
  "fullcode": [["--noopt", "--no-turbo"]],
  # 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", "turbofan", "turbofan_opt",
                    "noturbofan", "noturbofan_stress", "fullcode",
                    "nooptimization", "asm_wasm", "wasm_traps"])

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
libv8-6.0.286.54.1 vendor/v8/tools/testrunner/local/variants.py
libv8-6.0.286.54.0 vendor/v8/tools/testrunner/local/variants.py
libv8-6.0.286.54.0beta2 vendor/v8/tools/testrunner/local/variants.py
libv8-6.0.286.54.0beta1 vendor/v8/tools/testrunner/local/variants.py
libv8-6.0.286.44.0beta1 vendor/v8/tools/testrunner/local/variants.py