Commit 712fa675 authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

[test] Add Liftoff variant

Add a variant for testing the current state of the Liftoff
implementation.
This variant will only run on a subset of the bots, just like the
--future variant.

R=machenbach@chromium.org, hablich@chromium.org

Bug: v8:7088, v8:6600
Change-Id: If49fad3a8ed579356504b821a787326754f24e78
Reviewed-on: https://chromium-review.googlesource.com/779420
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49504}
parent 9e45be09
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
ALL_VARIANT_FLAGS = { ALL_VARIANT_FLAGS = {
"default": [[]], "default": [[]],
"future": [["--future"]], "future": [["--future"]],
"liftoff": [["--liftoff"]],
"stress": [["--stress-opt", "--always-opt"]], "stress": [["--stress-opt", "--always-opt"]],
# TODO(6792): Write protected code has been temporary added to the below # TODO(6792): Write protected code has been temporary added to the below
# variant until the feature has been enabled (or staged) by default. # variant until the feature has been enabled (or staged) by default.
...@@ -22,6 +23,7 @@ ALL_VARIANT_FLAGS = { ...@@ -22,6 +23,7 @@ ALL_VARIANT_FLAGS = {
FAST_VARIANT_FLAGS = { FAST_VARIANT_FLAGS = {
"default": [[]], "default": [[]],
"future": [["--future"]], "future": [["--future"]],
"liftoff": [["--liftoff"]],
"stress": [["--stress-opt"]], "stress": [["--stress-opt"]],
# TODO(6792): Write protected code has been temporary added to the below # TODO(6792): Write protected code has been temporary added to the below
# variant until the feature has been enabled (or staged) by default. # variant until the feature has been enabled (or staged) by default.
...@@ -34,5 +36,6 @@ FAST_VARIANT_FLAGS = { ...@@ -34,5 +36,6 @@ FAST_VARIANT_FLAGS = {
"wasm_traps": [["--wasm_trap_handler", "--invoke-weak-callbacks"]], "wasm_traps": [["--wasm_trap_handler", "--invoke-weak-callbacks"]],
} }
ALL_VARIANTS = set(["default", "future", "stress", "stress_incremental_marking", ALL_VARIANTS = set(["default", "future", "liftoff", "stress",
"nooptimization", "stress_background_compile", "wasm_traps"]) "stress_incremental_marking", "nooptimization",
"stress_background_compile", "wasm_traps"])
...@@ -48,7 +48,7 @@ VARIANT_ALIASES = { ...@@ -48,7 +48,7 @@ VARIANT_ALIASES = {
# Additional variants, run on all bots. # Additional variants, run on all bots.
"more": MORE_VARIANTS, "more": MORE_VARIANTS,
# Additional variants, run on a subset of bots. # Additional variants, run on a subset of bots.
"extra": ["future"], "extra": ["future", "liftoff"],
} }
GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment