Closed g1144146 closed 8 years ago
when edge count of one node equals 2 and edges contain edge of toward root node, the bug occurs.
when searching dominator node in two node, DominatorNodeSearcher class doesn't cope with case of second node is root.
when using switch statement for string, the node has two switch instructions. and, the node contains some branch instructions. (e.g. ifeq, goto and so on.) in the case, the node type cannot rightly define.
define children nodes from second switch statement of the node.
maybe, because of searching common dominator node between one node and root node.