Skip to content

Commit e3f0112

Browse files
author
Daniel Kroening
committed
source_location for throw
1 parent 43d83ec commit e3f0112

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/java_bytecode/java_bytecode_convert.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,7 @@ codet java_bytecode_convertt::convert_instructions(
736736
{
737737
assert(op.size()==1 && results.size()==1);
738738
side_effect_expr_throwt throw_expr;
739+
throw_expr.add_source_location()=i_it->source_location;
739740
throw_expr.copy_to_operands(op[0]);
740741
c=code_expressiont(throw_expr);
741742
results[0]=op[0];

0 commit comments

Comments
 (0)