-
Notifications
You must be signed in to change notification settings - Fork 831
Closed
Description
s2wasm outputs tableswitch using blocks instead of cases, see switch-1.c.wast in torture-tests:
(block $BB1_13
(block $BB1_12
(block $BB1_11
(block $BB1_9
(block $BB1_7
(block $BB1_5
(tableswitch
(get_local $$2)
(table (case $BB1_5) (case $BB1_14) (case $BB1_7) (case $BB1_14) (case $BB1_14) (case $BB1_9) (case $BB1_14) (case $BB1_11)) (case $BB1_5)
)
)
...
It looks like this may be changed soon in the spec repo, so maybe it's not worth fixing here, however.
Metadata
Metadata
Assignees
Labels
No labels