16
16
#include < util/message.h>
17
17
#include < util/std_types.h>
18
18
#include < util/std_expr.h>
19
- #include < util/safe_pointer.h>
20
19
#include < analyses/cfg_dominators.h>
21
20
#include " java_bytecode_parse_tree.h"
22
21
#include " java_bytecode_convert_class.h"
@@ -35,12 +34,12 @@ class java_bytecode_convert_methodt:public messaget
35
34
symbol_tablet &_symbol_table,
36
35
message_handlert &_message_handler,
37
36
size_t _max_array_length,
38
- safe_pointer <ci_lazy_methods_neededt> needed_lazy_methods,
37
+ optionalt <ci_lazy_methods_neededt> needed_lazy_methods,
39
38
java_string_library_preprocesst &_string_preprocess)
40
39
: messaget(_message_handler),
41
40
symbol_table (_symbol_table),
42
41
max_array_length(_max_array_length),
43
- needed_lazy_methods(needed_lazy_methods),
42
+ needed_lazy_methods(std::move( needed_lazy_methods) ),
44
43
string_preprocess(_string_preprocess),
45
44
slots_for_parameters(0 ),
46
45
method_has_this(false )
@@ -61,7 +60,7 @@ class java_bytecode_convert_methodt:public messaget
61
60
protected:
62
61
symbol_tablet &symbol_table;
63
62
const size_t max_array_length;
64
- safe_pointer <ci_lazy_methods_neededt> needed_lazy_methods;
63
+ optionalt <ci_lazy_methods_neededt> needed_lazy_methods;
65
64
66
65
// / Fully qualified name of the method under translation.
67
66
// / Initialized by `convert`.
0 commit comments