We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 531ef7e commit 7e1b382Copy full SHA for 7e1b382
src/goto-programs/remove_instanceof.cpp
@@ -140,6 +140,7 @@ void remove_instanceoft::lower_instanceof(
140
newinst->make_assignment();
141
newinst->code=code_assignt(newsym.symbol_expr(), object_clsid);
142
newinst->source_location=this_inst->source_location;
143
+ newinst->function=this_inst->function;
144
145
// Insert the check instruction after the existing one.
146
// This will briefly be ill-formed (use before def of
0 commit comments