File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ struct procedure_local_cfg_baset<
40
40
typedef std::map<java_bytecode_convert_methodt::method_offsett,
41
41
java_bytecode_convert_methodt::method_offsett>
42
42
entry_mapt;
43
+ typedef std::size_t entryt;
43
44
entry_mapt entry_map;
44
45
45
46
procedure_local_cfg_baset () {}
Original file line number Diff line number Diff line change @@ -63,6 +63,12 @@ class cfg_dominators_templatet
63
63
return cfg.get_node (program_point);
64
64
}
65
65
66
+ // / Get the graph node index for \p program_point
67
+ typename cfgt::entryt get_node_index (const T &program_point) const
68
+ {
69
+ return cfg.get_node_index (program_point);
70
+ }
71
+
66
72
// / Returns true if the program point corresponding to \p rhs_node is
67
73
// / dominated by program point \p lhs. Saves node lookup compared to the
68
74
// / dominates overload that takes two program points, so this version is
You can’t perform that action at this time.
0 commit comments