Skip to content

Commit 6d1feea

Browse files
Set the bytecode index for the instrumentation in goto_check.cpp
1 parent 466f629 commit 6d1feea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/analyses/goto_check.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -1820,6 +1820,11 @@ void goto_checkt::goto_check(
18201820

18211821
if(it->source_location.get_column()!=irep_idt())
18221822
i_it->source_location.set_column(it->source_location.get_column());
1823+
1824+
if(mode==ID_java &&
1825+
it->source_location.get_java_bytecode_index()!=irep_idt())
1826+
i_it->source_location.set_java_bytecode_index(
1827+
it->source_location.get_java_bytecode_index());
18231828
}
18241829

18251830
if(i_it->function==irep_idt())

0 commit comments

Comments
 (0)