Skip to content

ci: add missing feature test case in action #2723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
env:
ASC_FEATURES: threads,reference-types,gc,exception-handling
run: |
npm run test:compiler features/threads features/reference-types features/gc features/exception-handling
npm run test:compiler features/threads features/reference-types features/gc features/exception-handling bindings/esm bindings/raw
runtimes:
name: "Runtimes"
runs-on: ubuntu-latest
Expand Down
87 changes: 44 additions & 43 deletions tests/compiler/bindings/esm.debug.wat
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@
if
i32.const 0
i32.const 672
i32.const 378
i32.const 382
i32.const 14
call $~lib/builtins/abort
unreachable
Expand Down Expand Up @@ -1193,7 +1193,7 @@
if
i32.const 0
i32.const 672
i32.const 385
i32.const 389
i32.const 16
call $~lib/builtins/abort
unreachable
Expand Down Expand Up @@ -1226,7 +1226,7 @@
if
i32.const 0
i32.const 672
i32.const 398
i32.const 402
i32.const 5
call $~lib/builtins/abort
unreachable
Expand Down Expand Up @@ -1470,7 +1470,7 @@
if
i32.const 0
i32.const 672
i32.const 560
i32.const 562
i32.const 3
call $~lib/builtins/abort
unreachable
Expand Down Expand Up @@ -1799,7 +1799,7 @@
if
i32.const 336
i32.const 672
i32.const 459
i32.const 461
i32.const 29
call $~lib/builtins/abort
unreachable
Expand All @@ -1808,6 +1808,26 @@
call $~lib/rt/tlsf/computeSize
return
)
(func $~lib/rt/tlsf/roundSize (param $size i32) (result i32)
local.get $size
i32.const 536870910
i32.lt_u
if (result i32)
local.get $size
i32.const 1
i32.const 27
local.get $size
i32.clz
i32.sub
i32.shl
i32.add
i32.const 1
i32.sub
else
local.get $size
end
return
)
(func $~lib/rt/tlsf/searchBlock (param $root i32) (param $size i32) (result i32)
(local $fl i32)
(local $sl i32)
Expand Down Expand Up @@ -1837,24 +1857,13 @@
local.set $sl
else
local.get $size
i32.const 536870910
i32.lt_u
if (result i32)
local.get $size
i32.const 1
i32.const 27
local.get $size
i32.clz
i32.sub
i32.shl
i32.add
i32.const 1
i32.sub
else
local.get $size
end
call $~lib/rt/tlsf/roundSize
local.set $requestSize
i32.const 31
i32.const 4
i32.const 8
i32.mul
i32.const 1
i32.sub
local.get $requestSize
i32.clz
i32.sub
Expand Down Expand Up @@ -1892,7 +1901,7 @@
if
i32.const 0
i32.const 672
i32.const 330
i32.const 334
i32.const 14
call $~lib/builtins/abort
unreachable
Expand Down Expand Up @@ -1963,7 +1972,7 @@
if
i32.const 0
i32.const 672
i32.const 343
i32.const 347
i32.const 18
call $~lib/builtins/abort
unreachable
Expand Down Expand Up @@ -2026,6 +2035,14 @@
(local $pagesAfter i32)
i32.const 0
drop
local.get $size
i32.const 256
i32.ge_u
if
local.get $size
call $~lib/rt/tlsf/roundSize
local.set $size
end
memory.size $0
local.set $pagesBefore
local.get $size
Expand All @@ -2047,22 +2064,6 @@
i32.add
local.set $size
local.get $size
i32.const 536870910
i32.lt_u
if
local.get $size
i32.const 1
i32.const 27
local.get $size
i32.clz
i32.sub
i32.shl
i32.const 1
i32.sub
i32.add
local.set $size
end
local.get $size
i32.const 65535
i32.add
i32.const 65535
Expand Down Expand Up @@ -2128,7 +2129,7 @@
if
i32.const 0
i32.const 672
i32.const 357
i32.const 361
i32.const 14
call $~lib/builtins/abort
unreachable
Expand Down Expand Up @@ -2243,7 +2244,7 @@
if
i32.const 0
i32.const 672
i32.const 497
i32.const 499
i32.const 16
call $~lib/builtins/abort
unreachable
Expand All @@ -2263,7 +2264,7 @@
if
i32.const 0
i32.const 672
i32.const 499
i32.const 501
i32.const 14
call $~lib/builtins/abort
unreachable
Expand Down
Loading