Skip to content

Commit 788a60e

Browse files
Merge pull request #794 from cristina-david/missing-function-name
Set function member for class identifier assignment
2 parents 051a245 + 7e1b382 commit 788a60e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/goto-programs/remove_instanceof.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ void remove_instanceoft::lower_instanceof(
140140
newinst->make_assignment();
141141
newinst->code=code_assignt(newsym.symbol_expr(), object_clsid);
142142
newinst->source_location=this_inst->source_location;
143+
newinst->function=this_inst->function;
143144

144145
// Insert the check instruction after the existing one.
145146
// This will briefly be ill-formed (use before def of

0 commit comments

Comments
 (0)