File tree 1 file changed +9
-14
lines changed
1 file changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -1627,21 +1627,16 @@ void goto_checkt::goto_check(
1627
1627
1628
1628
exprt pointer=i.code .op0 ().op0 ();
1629
1629
1630
- if (pointer.type ().subtype ().get (ID_identifier)!=
1631
- " java::java.lang.AssertionError" )
1632
- {
1633
- notequal_exprt not_eq_null (
1634
- pointer,
1635
- null_pointer_exprt (to_pointer_type (pointer.type ())));
1630
+ const notequal_exprt not_eq_null (
1631
+ pointer, null_pointer_exprt (to_pointer_type (pointer.type ())));
1636
1632
1637
- add_guarded_claim (
1638
- not_eq_null,
1639
- " throwing null" ,
1640
- " pointer dereference" ,
1641
- i.source_location ,
1642
- pointer,
1643
- guardt ());
1644
- }
1633
+ add_guarded_claim (
1634
+ not_eq_null,
1635
+ " throwing null" ,
1636
+ " pointer dereference" ,
1637
+ i.source_location ,
1638
+ pointer,
1639
+ guardt ());
1645
1640
}
1646
1641
1647
1642
// this has no successor
You can’t perform that action at this time.
0 commit comments