File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ void remove_exceptionst::add_exception_dispatch_sequence(
312
312
313
313
// find the symbol corresponding to the caught exceptions
314
314
const symbolt &exc_symbol=
315
- * symbol_table.lookup (id2string (function_id)+EXC_SUFFIX);
315
+ symbol_table.lookup_ref (id2string (function_id)+EXC_SUFFIX);
316
316
symbol_exprt exc_thrown=exc_symbol.symbol_expr ();
317
317
318
318
// add GOTOs implementing the dynamic dispatch of the
@@ -387,7 +387,7 @@ void remove_exceptionst::instrument_throw(
387
387
388
388
// find the symbol where the thrown exception should be stored:
389
389
const symbolt &exc_symbol=
390
- * symbol_table.lookup (id2string (func_it->first )+EXC_SUFFIX);
390
+ symbol_table.lookup_ref (id2string (func_it->first )+EXC_SUFFIX);
391
391
symbol_exprt exc_thrown=exc_symbol.symbol_expr ();
392
392
393
393
// add the assignment with the appropriate cast
Original file line number Diff line number Diff line change @@ -290,8 +290,8 @@ void java_bytecode_typecheckt::typecheck_expr_member(member_exprt &expr)
290
290
{
291
291
// member doesn't exist. In this case struct_type should be an opaque
292
292
// stub, and we'll add the member to it.
293
- symbolt &symbol_table_type=
294
- *symbol_table. get_writeable ( " java::" +id2string (struct_type.get_tag ()));
293
+ symbolt &symbol_table_type=symbol_table. get_writeable_ref (
294
+ " java::" +id2string (struct_type.get_tag ()));
295
295
auto &add_to_components=
296
296
to_struct_type (symbol_table_type.type ).components ();
297
297
add_to_components
You can’t perform that action at this time.
0 commit comments