forked from AbleOS/holey-bytes
adding missing instruction selection
This commit is contained in:
parent
ad7fb5d0fc
commit
f5f9060803
|
@ -567,6 +567,7 @@ impl TokenKind {
|
|||
let src_idx = src.simple_size().unwrap().ilog2() as usize - 2;
|
||||
Some(match self {
|
||||
Self::Sub => instrs::neg,
|
||||
Self::Not => instrs::not,
|
||||
Self::Float if dst.is_float() && src.is_integer() => {
|
||||
debug_assert_matches!(
|
||||
(dst.simple_size(), src.simple_size()),
|
||||
|
|
Loading…
Reference in a new issue