Skip to content

Commit d399f6b

Browse files
Remove unused message handler
This is no longer used now that the JSON parsing is done outside this function.
1 parent 5c6d69c commit d399f6b

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

jbmc/src/java_bytecode/java_bytecode_language.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,6 @@ bool java_bytecode_languaget::convert_single_method(
12161216
*class_name,
12171217
*static_values_json,
12181218
symbol_table,
1219-
get_message_handler(),
12201219
needed_lazy_methods,
12211220
max_user_array_length,
12221221
references);

jbmc/src/java_bytecode/java_static_initializers.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,6 @@ code_blockt get_user_specified_clinit_body(
771771
const irep_idt &class_id,
772772
const json_objectt &static_values_json,
773773
symbol_table_baset &symbol_table,
774-
message_handlert &message_handler,
775774
optionalt<ci_lazy_methods_neededt> needed_lazy_methods,
776775
size_t max_user_array_length,
777776
std::unordered_map<std::string, object_creation_referencet> &references)

jbmc/src/java_bytecode/java_static_initializers.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ code_ifthenelset get_clinit_wrapper_body(
6666
/// The format is expected to be a map whose keys are class names, and whose
6767
/// values are maps from static field names to values.
6868
/// \param symbol_table: used to look up and create new symbols
69-
/// \param message_handler: used to log any errors with parsing the input file
7069
/// \param needed_lazy_methods: used to mark any runtime types given in the
7170
/// input file as needed
7271
/// \param max_user_array_length: maximum value for constant or variable length
@@ -78,7 +77,6 @@ code_blockt get_user_specified_clinit_body(
7877
const irep_idt &class_id,
7978
const json_objectt &static_values_json,
8079
symbol_table_baset &symbol_table,
81-
message_handlert &message_handler,
8280
optionalt<ci_lazy_methods_neededt> needed_lazy_methods,
8381
size_t max_user_array_length,
8482
std::unordered_map<std::string, object_creation_referencet> &references);

0 commit comments

Comments
 (0)