File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ bool java_bytecode_typecheck(
27
27
message_handlert &message_handler,
28
28
const namespacet &ns);
29
29
30
- class java_bytecode_typecheckt :public legacy_typecheckt
30
+ class java_bytecode_typecheckt :public typecheckt
31
31
{
32
32
public:
33
33
java_bytecode_typecheckt (
34
34
symbol_tablet &_symbol_table,
35
35
message_handlert &_message_handler):
36
- legacy_typecheckt (_message_handler),
36
+ typecheckt (_message_handler),
37
37
symbol_table (_symbol_table),
38
38
ns (symbol_table)
39
39
{
Original file line number Diff line number Diff line change @@ -191,14 +191,9 @@ void java_bytecode_typecheckt::typecheck_expr_member(member_exprt &expr)
191
191
expr.struct_op ()=m;
192
192
}
193
193
194
- #if 0
195
194
warning ().source_location =expr.source_location ();
196
195
warning () << " failed to find field `"
197
196
<< component_name << " ` in class hierarchy" << eom;
198
- #else
199
- warning_msg (" failed to find field `" +
200
- id2string (component_name)+" ` in class hierarchy" );
201
- #endif
202
197
203
198
// We replace by a non-det of same type
204
199
side_effect_expr_nondett nondet (expr.type ());
You can’t perform that action at this time.
0 commit comments