Skip to content

Commit

Permalink
Add missing ops to enable upgrade to 0.214 (#282)
Browse files Browse the repository at this point in the history
* Add missing ops to enable upgrade to 0.214

* Update mod.rs

---------

Co-authored-by: Guy Bedford <[email protected]>
Co-authored-by: Guy Bedford <[email protected]>
  • Loading branch information
3 people authored Nov 18, 2024
1 parent 6be5417 commit 6eb4941
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ leb128 = "0.2.4"
log = "0.4.8"
rayon = { version = "1.1.0", optional = true }
walrus-macro = { path = './crates/macro', version = '=0.22.0' }
wasm-encoder = "0.213.0"
wasmparser = "0.213.0"
wasm-encoder = "0.214.0"
wasmparser = "0.214.0"
gimli = "0.26.0"

[features]
Expand Down
116 changes: 116 additions & 0 deletions src/module/functions/local_function/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1491,6 +1491,122 @@ fn append_instruction(ctx: &mut ValidationContext, inst: Operator, loc: InstrLoc
ordering: _,
global_index: _,
}
| Operator::TableAtomicGet {
ordering: _,
table_index: _,
}
| Operator::TableAtomicSet {
ordering: _,
table_index: _,
}
| Operator::TableAtomicRmwXchg {
ordering: _,
table_index: _,
}
| Operator::TableAtomicRmwCmpxchg {
ordering: _,
table_index: _,
}
| Operator::StructAtomicGet {
ordering: _,
struct_type_index: _,
field_index: _,
}
| Operator::StructAtomicGetS {
ordering: _,
struct_type_index: _,
field_index: _,
}
| Operator::StructAtomicGetU {
ordering: _,
struct_type_index: _,
field_index: _,
}
| Operator::StructAtomicSet {
ordering: _,
struct_type_index: _,
field_index: _,
}
| Operator::StructAtomicRmwAdd {
ordering: _,
struct_type_index: _,
field_index: _,
}
| Operator::StructAtomicRmwSub {
ordering: _,
struct_type_index: _,
field_index: _,
}
| Operator::StructAtomicRmwAnd {
ordering: _,
struct_type_index: _,
field_index: _,
}
| Operator::StructAtomicRmwOr {
ordering: _,
struct_type_index: _,
field_index: _,
}
| Operator::StructAtomicRmwXor {
ordering: _,
struct_type_index: _,
field_index: _,
}
| Operator::StructAtomicRmwXchg {
ordering: _,
struct_type_index: _,
field_index: _,
}
| Operator::StructAtomicRmwCmpxchg {
ordering: _,
struct_type_index: _,
field_index: _,
}
| Operator::ArrayAtomicGet {
ordering: _,
array_type_index: _,
}
| Operator::ArrayAtomicGetS {
ordering: _,
array_type_index: _,
}
| Operator::ArrayAtomicGetU {
ordering: _,
array_type_index: _,
}
| Operator::ArrayAtomicSet {
ordering: _,
array_type_index: _,
}
| Operator::ArrayAtomicRmwAdd {
ordering: _,
array_type_index: _,
}
| Operator::ArrayAtomicRmwSub {
ordering: _,
array_type_index: _,
}
| Operator::ArrayAtomicRmwAnd {
ordering: _,
array_type_index: _,
}
| Operator::ArrayAtomicRmwOr {
ordering: _,
array_type_index: _,
}
| Operator::ArrayAtomicRmwXor {
ordering: _,
array_type_index: _,
}
| Operator::ArrayAtomicRmwXchg {
ordering: _,
array_type_index: _,
}
| Operator::ArrayAtomicRmwCmpxchg {
ordering: _,
array_type_index: _,
}
| Operator::RefI31Shared
| Operator::CallRef { type_index: _ }
| Operator::ReturnCallRef { type_index: _ }
| Operator::RefAsNonNull
Expand Down

0 comments on commit 6eb4941

Please sign in to comment.