提交 f38b0dfb 编写于 作者: A aph

8157306: Random infrequent null pointer exceptions in javac

Reviewed-by: kvn
上级 9cfa9daf
......@@ -1088,11 +1088,12 @@ void PhaseCFG::call_catch_cleanup(Block* block) {
Block *sb = block->_succs[i];
// Clone the entire area; ignoring the edge fixup for now.
for( uint j = end; j > beg; j-- ) {
// It is safe here to clone a node with anti_dependence
// since clones dominate on each path.
Node *clone = block->get_node(j-1)->clone();
sb->insert_node(clone, 1);
map_node_to_block(clone, sb);
if (clone->needs_anti_dependence_check()) {
insert_anti_dependences(sb, clone);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册