Replace ExtractLane format with BinaryImm8
Like https://github.com/bytecodealliance/wasmtime/pull/1762, this change the name of the `ExtractLane` format to the more-general `BinaryImm8` and renames its immediate argument from `lane` to `imm`.
This commit is contained in:
@@ -756,10 +756,10 @@ impl<'a> Verifier<'a> {
|
||||
| UnaryIeee64 { .. }
|
||||
| UnaryBool { .. }
|
||||
| Binary { .. }
|
||||
| BinaryImm8 { .. }
|
||||
| BinaryImm { .. }
|
||||
| Ternary { .. }
|
||||
| TernaryImm8 { .. }
|
||||
| ExtractLane { .. }
|
||||
| Shuffle { .. }
|
||||
| IntCompare { .. }
|
||||
| IntCompareImm { .. }
|
||||
@@ -1912,9 +1912,9 @@ impl<'a> Verifier<'a> {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
ir::InstructionData::ExtractLane {
|
||||
ir::InstructionData::BinaryImm8 {
|
||||
opcode: ir::instructions::Opcode::Extractlane,
|
||||
lane,
|
||||
imm: lane,
|
||||
arg,
|
||||
..
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user