Rename BinaryImm format to BinaryImm64

This commit is contained in:
Andrew Brown
2020-05-27 09:32:59 -07:00
parent a27a079d65
commit 0dd77d36f8
14 changed files with 54 additions and 54 deletions

View File

@@ -2758,11 +2758,11 @@ impl<'a> Parser<'a> {
let imm = self.match_uimm8("expected unsigned 8-bit immediate")?;
InstructionData::BinaryImm8 { opcode, arg, imm }
}
InstructionFormat::BinaryImm => {
InstructionFormat::BinaryImm64 => {
let lhs = self.match_value("expected SSA value first operand")?;
self.match_token(Token::Comma, "expected ',' between operands")?;
let rhs = self.match_imm64("expected immediate integer second operand")?;
InstructionData::BinaryImm {
InstructionData::BinaryImm64 {
opcode,
arg: lhs,
imm: rhs,