8acae9be7c
This adds support for loading and storing mutable imported globals having a reference type in the interpreter. It expands existing test coverage to the interpreter. R=clemensh@chromium.org TEST=mjsunit/wasm/anyref-globals-interpreter BUG=v8:8091,v8:7581 Change-Id: I78e0c5c73664a183e1d92ec91eadf8b9a93e4787 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1559743 Reviewed-by: Clemens Hammacher <clemensh@chromium.org> Commit-Queue: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#60701}
13 lines
501 B
JavaScript
13 lines
501 B
JavaScript
// Copyright 2019 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.
|
|
|
|
// Flags: --experimental-wasm-anyref --expose-gc
|
|
// Flags: --wasm-interpret-all
|
|
|
|
// This is just a wrapper for an existing reference types test case that runs
|
|
// with the --wasm-interpret-all flag added. If we ever decide to add a test
|
|
// variant for this, then we can remove this file.
|
|
|
|
load("test/mjsunit/wasm/anyref-globals.js");
|