Bug 1612534 - Manually fix 'wasm/bigint/' jit-tests. r=lth

This commit includes all the manual changes needed to get 'wasm/bigint'
jit-tests passing.

Differential Revision: https://phabricator.services.mozilla.com/D67256

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Ryan Hunt 2020-03-23 16:32:04 +00:00
Родитель e50c835e32
Коммит 7bb6ff46c5
2 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -111,7 +111,7 @@ function testManyArgs() {
function testImportExport() {
var f1 = wasmEvalText(
`(module
(import "i64" "func" (param i64))
(import "i64" "func" (func (param i64)))
(export "f" (func 0))
)`,
{
@ -125,7 +125,7 @@ function testImportExport() {
var f2 = wasmEvalText(
`(module
(import "i64" "func" (param i64) (result i64))
(import "i64" "func" (func (param i64) (result i64)))
(export "f" (func 0))
)`,
{
@ -139,7 +139,7 @@ function testImportExport() {
var f3 = wasmEvalText(
`(module
(import $i64 "" "i64" (param i64) (result i64))
(import "" "i64" (func $i64 (param i64) (result i64)))
(func (export "f") (param i64) (result i64)
(get_local 0)
(call $i64))
@ -155,7 +155,7 @@ function testImportExport() {
var f4 = wasmEvalText(
`(module
(import "i64" "func" (result i64))
(import "i64" "func" (func (result i64)))
(export "f" (func 0))
)`,
{ i64: { func() {} } }

Просмотреть файл

@ -52,11 +52,11 @@
ex = wasmEvalText(
`(module
(import $ffi "a" "ffi" (param i64) (result i64))
(import $ffi2 "a" "ffi2"
(import "a" "ffi" (func $ffi (param i64) (result i64)))
(import "a" "ffi2" (func $ffi2
(param i64 i32 i32 i32 i32 i32 i32)
(result i64))
(import $ffi3 "a" "ffi3" (param i64 i64 i64 i64) (result i64))
(result i64)))
(import "a" "ffi3" (func $ffi3 (param i64 i64 i64 i64) (result i64)))
(func (export "callffi") (param i64) (result i64)
local.get 0