File tree 5 files changed +7
-6
lines changed
5 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ bool ci_lazy_methodst::operator()(
149
149
debug () << " CI lazy methods: elaborate " << mname << eom;
150
150
const auto &parsed_method=findit->second ;
151
151
method_converter (
152
- * parsed_method.first ,
152
+ symbol_table. lookup_ref ( parsed_method.first ) ,
153
153
*parsed_method.second ,
154
154
// Note this wraps *references* to method_worklist2 & needed_classes
155
155
ci_lazy_methods_neededt (
Original file line number Diff line number Diff line change 27
27
class java_string_library_preprocesst ;
28
28
29
29
// Pair of class id and methodt
30
- typedef std::pair<const symbolt * , const java_bytecode_parse_treet::methodt *>
30
+ typedef std::pair<irep_idt , const java_bytecode_parse_treet::methodt *>
31
31
class_and_bytecodet;
32
32
// Map from method id to class_and_bytecodet
33
33
typedef std::map<irep_idt, class_and_bytecodet> method_bytecodet;
Original file line number Diff line number Diff line change @@ -205,7 +205,8 @@ void java_bytecode_convert_classt::convert(const classt &c)
205
205
method,
206
206
symbol_table,
207
207
get_message_handler ());
208
- method_bytecode[method_identifier] = std::make_pair (class_symbol, &method);
208
+ method_bytecode[method_identifier] =
209
+ std::make_pair (qualified_classname, &method);
209
210
}
210
211
211
212
// is this a root class?
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ bool java_bytecode_languaget::typecheck(
251
251
for (const auto &method_sig : method_bytecode)
252
252
{
253
253
java_bytecode_convert_method (
254
- * method_sig.second .first ,
254
+ symbol_table. lookup_ref ( method_sig.second .first ) ,
255
255
*method_sig.second .second ,
256
256
symbol_table,
257
257
get_message_handler (),
@@ -370,7 +370,7 @@ void java_bytecode_languaget::convert_lazy_method(
370
370
{
371
371
const auto &lazy_method_entry = method_bytecode.at (function_id);
372
372
java_bytecode_convert_method (
373
- * lazy_method_entry.first ,
373
+ symbol_table. lookup_ref ( lazy_method_entry.first ) ,
374
374
*lazy_method_entry.second ,
375
375
symbol_table,
376
376
get_message_handler (),
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ struct object_factory_parameterst final
82
82
};
83
83
84
84
// Pair of class id and methodt
85
- typedef std::pair<const symbolt * , const java_bytecode_parse_treet::methodt *>
85
+ typedef std::pair<irep_idt , const java_bytecode_parse_treet::methodt *>
86
86
class_and_bytecodet;
87
87
// Map from method id to class_and_bytecodet
88
88
typedef std::map<irep_idt, class_and_bytecodet> method_bytecodet;
You can’t perform that action at this time.
0 commit comments