Skip to content

Commit 04d6a7f

Browse files
committed
Remove unused parameter address_map
convert_switch does not use it (anymore).
1 parent 09bffe4 commit 04d6a7f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

jbmc/src/java_bytecode/java_bytecode_convert_method.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,7 @@ code_blockt java_bytecode_convert_methodt::convert_instructions(
16271627
statement=="lookupswitch")
16281628
{
16291629
PRECONDITION(op.size() == 1 && results.empty());
1630-
c = convert_switch(address_map, op, i_it->args, i_it->source_location);
1630+
c = convert_switch(op, i_it->args, i_it->source_location);
16311631
}
16321632
else if(statement=="pop" || statement=="pop2")
16331633
{
@@ -1913,7 +1913,6 @@ codet java_bytecode_convert_methodt::convert_pop(
19131913
}
19141914

19151915
code_switcht java_bytecode_convert_methodt::convert_switch(
1916-
java_bytecode_convert_methodt::address_mapt &address_map,
19171916
const exprt::operandst &op,
19181917
const java_bytecode_parse_treet::instructiont::argst &args,
19191918
const source_locationt &location)

jbmc/src/java_bytecode/java_bytecode_convert_method_class.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,6 @@ class java_bytecode_convert_methodt:public messaget
465465
void convert_dup2(exprt::operandst &op, exprt::operandst &results);
466466

467467
code_switcht convert_switch(
468-
java_bytecode_convert_methodt::address_mapt &address_map,
469468
const exprt::operandst &op,
470469
const java_bytecode_parse_treet::instructiont::argst &args,
471470
const source_locationt &location);

0 commit comments

Comments
 (0)