Skip to content

Commit df41509

Browse files
author
Matthias Güdemann
committed
Fix naming in variables for non-deterministic values
1 parent 37e32a4 commit df41509

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jbmc/src/java_bytecode/java_entry_point.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ exprt::operandst java_build_arguments(
399399

400400
init_code.add(
401401
generate_nondet_switch(
402-
id2string(function.base_name) + "_" + std::to_string(param_number),
402+
id2string(function.name) + "_" + std::to_string(param_number),
403403
cases,
404404
java_int_type(),
405405
function.location,

jbmc/src/java_bytecode/nondet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ symbol_exprt generate_nondet_int(
4646
// Declare a symbol for the non deterministic integer.
4747
const symbol_exprt &nondet_symbol = get_fresh_aux_symbol(
4848
int_type,
49-
name_prefix + "::nondet_int",
49+
name_prefix,
5050
"nondet_int",
5151
source_location,
5252
ID_java,

0 commit comments

Comments
 (0)