mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-06-19 05:11:02 +00:00
Add gas test confirming that br instructions do not end blocks.
This commit is contained in:
Vendored
+3
-3
@@ -1,9 +1,9 @@
|
||||
(module
|
||||
(func (param $x i32) (result i32)
|
||||
(if (result i32)
|
||||
(i32.const 1)
|
||||
(i32.add (get_local $x) (i32.const 1))
|
||||
(i32.popcnt (get_local $x))
|
||||
(i32.const 1)
|
||||
(then (i32.add (get_local $x) (i32.const 1)))
|
||||
(else (i32.popcnt (get_local $x)))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user