Skip to content

Commit 92a068f

Browse files
committed
Fix parameter live ranges
1 parent 11f337a commit 92a068f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/java_bytecode/java_bytecode_convert_method.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,8 @@ void java_bytecode_convert_methodt::convert(
363363
// add as a JVM variable
364364
std::size_t slots=get_variable_slots(parameters[i]);
365365
variables[param_index][0].symbol_expr=parameter_symbol.symbol_expr();
366+
variables[param_index][0].start_pc=0;
367+
variables[param_index][0].length = std::numeric_limits<size_t>::max();
366368
param_index+=slots;
367369
}
368370

0 commit comments

Comments
 (0)