Sign in
webkit
/
WebKit
/
bd9ea4a5474a3d7a80a4f79c542279d7b8a087a0
/
.
/
JSTests
/
wasm
/
regress
/
stack-consistency.js
blob: 464f37059c10f0e1ca54b6be475c104687913443 [
file
] [
log
] [
blame
]
import
{
instantiate
}
from
"../wabt-wrapper.js"
;
instantiate
(`
(
module
(
func $foo
(
result i32 i32
)
unreachable
)
(
func
(
param i32
)
(
result i32 i32 i32
)
(
local
.
get
0
)
(
loop
(
param i32
)
(
result i32 i32 i32
)
call $foo
)
)
)
`);