@@ -1145,6 +1145,7 @@ code_blockt java_string_library_preprocesst::make_assign_function_from_call(
1145
1145
// / one of the following: ID_boolean, ID_char, ID_byte, ID_short, ID_int,
1146
1146
// / ID_long, ID_float, ID_double, ID_void
1147
1147
// / \param loc: a location in the source
1148
+ // / \param function_id: the name of the function
1148
1149
// / \param symbol_table: the symbol table
1149
1150
// / \param code: code block to which we are adding some assignments
1150
1151
// / \return An expression containing a symbol `tmp_type_name` where `type_name`
@@ -1155,6 +1156,7 @@ java_string_library_preprocesst::get_primitive_value_of_object(
1155
1156
const exprt &object,
1156
1157
irep_idt type_name,
1157
1158
const source_locationt &loc,
1159
+ const irep_idt &function_id,
1158
1160
symbol_table_baset &symbol_table,
1159
1161
code_blockt &code)
1160
1162
{
@@ -1379,7 +1381,7 @@ struct_exprt java_string_library_preprocesst::make_argument_for_format(
1379
1381
else if (name==ID_int || name==ID_float || name==ID_char || name==ID_boolean)
1380
1382
{
1381
1383
const auto value = get_primitive_value_of_object (
1382
- arg_i, name, loc, symbol_table, code_not_null);
1384
+ arg_i, name, loc, function_id, symbol_table, code_not_null);
1383
1385
if (value.has_value ())
1384
1386
code_not_null.add (code_assignt (field_expr, *value), loc);
1385
1387
else
0 commit comments