File tree 2 files changed +10
-0
lines changed 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,14 @@ bool is_clinit_wrapper_function(const irep_idt &function_id)
73
73
return has_suffix (id2string (function_id), clinit_wrapper_suffix);
74
74
}
75
75
76
+ // / Check if function_id is a clinit
77
+ // / \param function_id: some function identifier
78
+ // / \return true if the passed identifier is a clinit
79
+ bool is_clinit_function (const irep_idt &function_id)
80
+ {
81
+ return has_suffix (id2string (function_id), clinit_function_suffix);
82
+ }
83
+
76
84
// / Add a new symbol to the symbol table.
77
85
// / Note: assumes that a symbol with this name does not exist.
78
86
// / /param name: name of the symbol to be generated
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ irep_idt clinit_wrapper_name(const irep_idt &class_name);
23
23
24
24
bool is_clinit_wrapper_function (const irep_idt &function_id);
25
25
26
+ bool is_clinit_function (const irep_idt &function_id);
27
+
26
28
void create_static_initializer_wrappers (
27
29
symbol_tablet &symbol_table,
28
30
synthetic_methods_mapt &synthetic_methods,
You can’t perform that action at this time.
0 commit comments