|
35 | 35 | #include "java_root_class.h" |
36 | 36 |
|
37 | 37 | static symbolt &new_tmp_symbol( |
38 | | - symbol_tablet &symbol_table, |
| 38 | + symbol_table_baset &symbol_table, |
39 | 39 | const source_locationt &loc, |
40 | 40 | const typet &type, |
41 | | - const std::string &prefix="tmp_object_factory") |
| 41 | + const std::string &prefix = "tmp_object_factory") |
42 | 42 | { |
43 | 43 | return get_fresh_aux_symbol( |
44 | 44 | type, |
@@ -69,7 +69,7 @@ class java_object_factoryt |
69 | 69 | std::unordered_set<irep_idt, irep_id_hash> recursion_set; |
70 | 70 |
|
71 | 71 | /// The symbol table. |
72 | | - symbol_tablet &symbol_table; |
| 72 | + symbol_table_baset &symbol_table; |
73 | 73 |
|
74 | 74 | /// A namespace built from exclusively one symbol table - the one above. |
75 | 75 | namespacet ns; |
@@ -102,9 +102,9 @@ class java_object_factoryt |
102 | 102 | std::vector<const symbolt *> &_symbols_created, |
103 | 103 | const source_locationt &loc, |
104 | 104 | const object_factory_parameterst _object_factory_parameters, |
105 | | - symbol_tablet &_symbol_table, |
106 | | - const select_pointer_typet &pointer_type_selector): |
107 | | - symbols_created(_symbols_created), |
| 105 | + symbol_table_baset &_symbol_table, |
| 106 | + const select_pointer_typet &pointer_type_selector) |
| 107 | + : symbols_created(_symbols_created), |
108 | 108 | loc(loc), |
109 | 109 | object_factory_parameters(_object_factory_parameters), |
110 | 110 | symbol_table(_symbol_table), |
@@ -182,7 +182,7 @@ class java_object_factoryt |
182 | 182 | exprt allocate_dynamic_object( |
183 | 183 | const exprt &target_expr, |
184 | 184 | const typet &allocate_type, |
185 | | - symbol_tablet &symbol_table, |
| 185 | + symbol_table_baset &symbol_table, |
186 | 186 | const source_locationt &loc, |
187 | 187 | code_blockt &output_code, |
188 | 188 | std::vector<const symbolt *> &symbols_created, |
@@ -241,7 +241,7 @@ exprt allocate_dynamic_object( |
241 | 241 | /// \param output_code: code block to which the necessary code is added |
242 | 242 | void allocate_dynamic_object_with_decl( |
243 | 243 | const exprt &target_expr, |
244 | | - symbol_tablet &symbol_table, |
| 244 | + symbol_table_baset &symbol_table, |
245 | 245 | const source_locationt &loc, |
246 | 246 | code_blockt &output_code) |
247 | 247 | { |
@@ -543,7 +543,7 @@ codet initialize_nondet_string_struct( |
543 | 543 | const exprt &obj, |
544 | 544 | const std::size_t &max_nondet_string_length, |
545 | 545 | const source_locationt &loc, |
546 | | - symbol_tablet &symbol_table, |
| 546 | + symbol_table_baset &symbol_table, |
547 | 547 | bool printable) |
548 | 548 | { |
549 | 549 | PRECONDITION( |
@@ -636,7 +636,7 @@ static bool add_nondet_string_pointer_initialization( |
636 | 636 | const exprt &expr, |
637 | 637 | const std::size_t &max_nondet_string_length, |
638 | 638 | bool printable, |
639 | | - symbol_tablet &symbol_table, |
| 639 | + symbol_table_baset &symbol_table, |
640 | 640 | const source_locationt &loc, |
641 | 641 | code_blockt &code) |
642 | 642 | { |
@@ -1361,7 +1361,7 @@ exprt object_factory( |
1361 | 1361 | const irep_idt base_name, |
1362 | 1362 | code_blockt &init_code, |
1363 | 1363 | bool allow_null, |
1364 | | - symbol_tablet &symbol_table, |
| 1364 | + symbol_table_baset &symbol_table, |
1365 | 1365 | const object_factory_parameterst ¶meters, |
1366 | 1366 | allocation_typet alloc_type, |
1367 | 1367 | const source_locationt &loc, |
@@ -1457,7 +1457,7 @@ exprt object_factory( |
1457 | 1457 | void gen_nondet_init( |
1458 | 1458 | const exprt &expr, |
1459 | 1459 | code_blockt &init_code, |
1460 | | - symbol_tablet &symbol_table, |
| 1460 | + symbol_table_baset &symbol_table, |
1461 | 1461 | const source_locationt &loc, |
1462 | 1462 | bool skip_classid, |
1463 | 1463 | allocation_typet alloc_type, |
@@ -1521,7 +1521,7 @@ exprt object_factory( |
1521 | 1521 | void gen_nondet_init( |
1522 | 1522 | const exprt &expr, |
1523 | 1523 | code_blockt &init_code, |
1524 | | - symbol_tablet &symbol_table, |
| 1524 | + symbol_table_baset &symbol_table, |
1525 | 1525 | const source_locationt &loc, |
1526 | 1526 | bool skip_classid, |
1527 | 1527 | allocation_typet alloc_type, |
|
0 commit comments