Skip to content

Commit 82ab237

Browse files
committed
fixup! Split java nondet pass in two
1 parent f12c790 commit 82ab237

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/goto-programs/convert_nondet.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ static goto_programt::targett insert_nondet_init_code(
6767
}
6868

6969
// Although, if the type is a ptr-to-void then we also want to bail
70-
if(lhs.type().subtype().id()==ID_empty)
70+
if(lhs.type().subtype().id()==ID_empty ||
71+
lhs.type().subtype().id()==ID_code)
7172
{
7273
return next_instr;
7374
}

0 commit comments

Comments
 (0)