generalize has_null_ball

This commit is contained in:
Mark Thom
2017-08-14 10:11:17 -06:00
parent a06d99a313
commit a3fbf1bc73

View File

@@ -1148,7 +1148,7 @@ impl MachineState {
fn has_null_ball(&self) -> bool fn has_null_ball(&self) -> bool
{ {
if let &Addr::Con(Constant::UInt64(0)) = &self.ball { if let &Addr::Con(Constant::UInt64(_)) = &self.ball {
true true
} else { } else {
false false