Commit 65d28a7f authored by Thibaud Michaud's avatar Thibaud Michaud Committed by Commit Bot

[wasm][mv] Enable wasm multi-value

R=ahaas@chromium.org

Bug: chromium:1097717
Change-Id: I6c5a0a32191c9a06fd894c8fe7d9367e9403de8c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2362956Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69459}
parent 2547e1ce
...@@ -49,12 +49,6 @@ ...@@ -49,12 +49,6 @@
// be shipped with enough lead time to the next branch to allow for // be shipped with enough lead time to the next branch to allow for
// stabilization. // stabilization.
#define FOREACH_WASM_STAGING_FEATURE_FLAG(V) /* (force 80 columns) */ \ #define FOREACH_WASM_STAGING_FEATURE_FLAG(V) /* (force 80 columns) */ \
/* Multi-value proposal. */ \
/* https://github.com/WebAssembly/multi-value */ \
/* V8 side owner: thibaudm */ \
/* Staged in v8.0. */ \
V(mv, "multi-value support", false) \
\
/* Reference Types, a.k.a. reftypes proposal. */ \ /* Reference Types, a.k.a. reftypes proposal. */ \
/* https://github.com/WebAssembly/reference-types */ \ /* https://github.com/WebAssembly/reference-types */ \
/* V8 side owner: ahaas */ \ /* V8 side owner: ahaas */ \
...@@ -92,7 +86,14 @@ ...@@ -92,7 +86,14 @@
/* V8 side owner: binji */ \ /* V8 side owner: binji */ \
/* Shipped in v7.5. */ \ /* Shipped in v7.5. */ \
/* ITS: https://groups.google.com/forum/#!topic/v8-users/zM05lYEBVog */ \ /* ITS: https://groups.google.com/forum/#!topic/v8-users/zM05lYEBVog */ \
V(bulk_memory, "bulk memory opcodes", true) V(bulk_memory, "bulk memory opcodes", true) \
\
/* Multi-value proposal. */ \
/* https://github.com/WebAssembly/multi-value */ \
/* V8 side owner: thibaudm */ \
/* Shipped in v8.6. */ \
/* ITS: https://groups.google.com/g/v8-users/c/pv2E4yFWeF0 */ \
V(mv, "multi-value support", true)
// Combination of all available wasm feature flags. // Combination of all available wasm feature flags.
#define FOREACH_WASM_FEATURE_FLAG(V) \ #define FOREACH_WASM_FEATURE_FLAG(V) \
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Flags: --expose-wasm --experimental-wasm-return-call --experimental-wasm-mv --stack-size=64 // Flags: --expose-wasm --experimental-wasm-return-call --stack-size=64
load("test/mjsunit/wasm/wasm-module-builder.js"); load("test/mjsunit/wasm/wasm-module-builder.js");
......
...@@ -52,8 +52,7 @@ class TestCase(testcase.D8TestCase): ...@@ -52,8 +52,7 @@ class TestCase(testcase.D8TestCase):
for proposal in proposal_flags: for proposal in proposal_flags:
if os.sep.join(['proposals', proposal['name']]) in self.path: if os.sep.join(['proposals', proposal['name']]) in self.path:
return proposal['flags'] return proposal['flags']
# TODO(thibaudm): Remove flag when multi-value is shipped. return []
return ['--experimental-wasm-mv']
def GetSuite(*args, **kwargs): def GetSuite(*args, **kwargs):
......
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