cranelift: Implement overflow flags for icmp in interpreter
This commit is contained in:
committed by
Andrew Brown
parent
c42b725ce9
commit
04033fe645
@@ -720,8 +720,8 @@ where
|
||||
&left.clone().convert(ValueConversionKind::ToUnsigned)?,
|
||||
&right.clone().convert(ValueConversionKind::ToUnsigned)?,
|
||||
)?,
|
||||
IntCC::Overflow => unimplemented!("IntCC::Overflow"),
|
||||
IntCC::NotOverflow => unimplemented!("IntCC::NotOverflow"),
|
||||
IntCC::Overflow => Value::of(left, right)?,
|
||||
IntCC::NotOverflow => !Value::of(left, right)?,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user