mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-06-12 19:21:07 +00:00
Update wasmparser requirement from 0.82 to 0.84 (#10)
* Update wasmparser requirement from 0.82 to 0.84 Updates the requirements on [wasmparser](https://github.com/bytecodealliance/wasm-tools) to permit the latest version. - [Release notes](https://github.com/bytecodealliance/wasm-tools/releases) - [Commits](https://github.com/bytecodealliance/wasm-tools/compare/wasmparser-0.82.0...wasmparser-0.84.0) --- updated-dependencies: - dependency-name: wasmparser dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Adapt tests to new wasmparser Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexander Theißen <alex.theissen@me.com>
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
global.get 0
|
||||
i32.const 2
|
||||
i32.sub
|
||||
global.set 0)
|
||||
global.set 0
|
||||
)
|
||||
(func (;1;) (type 0)
|
||||
global.get 0
|
||||
i32.const 2
|
||||
@@ -31,7 +32,8 @@
|
||||
global.get 0
|
||||
i32.const 2
|
||||
i32.sub
|
||||
global.set 0)
|
||||
global.set 0
|
||||
)
|
||||
(func (;2;) (type 0)
|
||||
global.get 0
|
||||
i32.const 2
|
||||
@@ -47,6 +49,8 @@
|
||||
global.get 0
|
||||
i32.const 2
|
||||
i32.sub
|
||||
global.set 0)
|
||||
global.set 0
|
||||
)
|
||||
(global (;0;) (mut i32) i32.const 0)
|
||||
(export "main" (func 2)))
|
||||
(export "main" (func 2))
|
||||
)
|
||||
@@ -6,7 +6,8 @@
|
||||
(func $i32.add (type 1) (param i32 i32) (result i32)
|
||||
local.get 0
|
||||
local.get 1
|
||||
i32.add)
|
||||
i32.add
|
||||
)
|
||||
(func (;2;) (type 2) (param $arg i32)
|
||||
(local $tmp i32)
|
||||
global.get $counter
|
||||
@@ -31,7 +32,8 @@
|
||||
i32.const 4
|
||||
i32.sub
|
||||
global.set 1
|
||||
drop)
|
||||
drop
|
||||
)
|
||||
(func (;3;) (type 1) (param i32 i32) (result i32)
|
||||
local.get 0
|
||||
local.get 1
|
||||
@@ -49,7 +51,9 @@
|
||||
global.get 1
|
||||
i32.const 4
|
||||
i32.sub
|
||||
global.set 1)
|
||||
global.set 1
|
||||
)
|
||||
(global $counter (mut i32) i32.const 1)
|
||||
(global (;1;) (mut i32) i32.const 0)
|
||||
(export "i32.add" (func 3)))
|
||||
(export "i32.add" (func 3))
|
||||
)
|
||||
@@ -8,7 +8,8 @@
|
||||
call $boo
|
||||
local.get 0
|
||||
local.get 1
|
||||
i32.add)
|
||||
i32.add
|
||||
)
|
||||
(func (;3;) (type 1) (param i32 i32) (result i32)
|
||||
local.get 0
|
||||
local.get 1
|
||||
@@ -26,6 +27,8 @@
|
||||
global.get 0
|
||||
i32.const 4
|
||||
i32.sub
|
||||
global.set 0)
|
||||
global.set 0
|
||||
)
|
||||
(global (;0;) (mut i32) i32.const 0)
|
||||
(export "i32.add" (func 3)))
|
||||
(export "i32.add" (func 3))
|
||||
)
|
||||
@@ -1,7 +1,8 @@
|
||||
(module
|
||||
(type (;0;) (func))
|
||||
(func $one-group-many-locals (type 0)
|
||||
(local i64 i64 i32))
|
||||
(local i64 i64 i32)
|
||||
)
|
||||
(func $main (type 0)
|
||||
global.get 0
|
||||
i32.const 5
|
||||
@@ -17,5 +18,7 @@
|
||||
global.get 0
|
||||
i32.const 5
|
||||
i32.sub
|
||||
global.set 0)
|
||||
(global (;0;) (mut i32) i32.const 0))
|
||||
global.set 0
|
||||
)
|
||||
(global (;0;) (mut i32) i32.const 0)
|
||||
)
|
||||
@@ -2,7 +2,8 @@
|
||||
(type (;0;) (func))
|
||||
(func (;0;) (type 0)
|
||||
i32.const 123
|
||||
drop)
|
||||
drop
|
||||
)
|
||||
(func (;1;) (type 0)
|
||||
global.get 0
|
||||
i32.const 3
|
||||
@@ -18,6 +19,8 @@
|
||||
global.get 0
|
||||
i32.const 3
|
||||
i32.sub
|
||||
global.set 0)
|
||||
global.set 0
|
||||
)
|
||||
(global (;0;) (mut i32) i32.const 0)
|
||||
(export "simple" (func 1)))
|
||||
(export "simple" (func 1))
|
||||
)
|
||||
@@ -4,7 +4,8 @@
|
||||
(import "env" "ext_return" (func $ext_return (type 0)))
|
||||
(import "env" "memory" (memory (;0;) 1 1))
|
||||
(func $start (type 1)
|
||||
(local i32))
|
||||
(local i32)
|
||||
)
|
||||
(func (;2;) (type 1))
|
||||
(func (;3;) (type 1)
|
||||
global.get 0
|
||||
@@ -21,7 +22,8 @@
|
||||
global.get 0
|
||||
i32.const 3
|
||||
i32.sub
|
||||
global.set 0)
|
||||
global.set 0
|
||||
)
|
||||
(func (;4;) (type 1)
|
||||
global.get 0
|
||||
i32.const 2
|
||||
@@ -37,7 +39,9 @@
|
||||
global.get 0
|
||||
i32.const 2
|
||||
i32.sub
|
||||
global.set 0)
|
||||
global.set 0
|
||||
)
|
||||
(global (;0;) (mut i32) i32.const 0)
|
||||
(export "call" (func 4))
|
||||
(start 3))
|
||||
(start 3)
|
||||
)
|
||||
@@ -21,11 +21,13 @@
|
||||
i32.const 4
|
||||
i32.sub
|
||||
global.set 0
|
||||
drop)
|
||||
drop
|
||||
)
|
||||
(func $i32.add (type 2) (param i32 i32) (result i32)
|
||||
local.get 0
|
||||
local.get 1
|
||||
i32.add)
|
||||
i32.add
|
||||
)
|
||||
(func (;3;) (type 1) (param i32)
|
||||
local.get 0
|
||||
global.get 0
|
||||
@@ -42,7 +44,8 @@
|
||||
global.get 0
|
||||
i32.const 4
|
||||
i32.sub
|
||||
global.set 0)
|
||||
global.set 0
|
||||
)
|
||||
(func (;4;) (type 2) (param i32 i32) (result i32)
|
||||
local.get 0
|
||||
local.get 1
|
||||
@@ -60,8 +63,10 @@
|
||||
global.get 0
|
||||
i32.const 4
|
||||
i32.sub
|
||||
global.set 0)
|
||||
global.set 0
|
||||
)
|
||||
(table (;0;) 10 funcref)
|
||||
(global (;0;) (mut i32) i32.const 0)
|
||||
(export "i32.add" (func 4))
|
||||
(elem (;0;) (i32.const 0) func $foo 3 4))
|
||||
(elem (;0;) (i32.const 0) func $foo 3 4)
|
||||
)
|
||||
Reference in New Issue
Block a user