提交 cc747e7c 编写于 作者: R rbackman

8026959: assert(!n->pinned() || n->is_MachConstantBase()) failed: only pinned...

8026959: assert(!n->pinned() || n->is_MachConstantBase()) failed: only pinned MachConstantBase node is expected here
Reviewed-by: iveresov, roland
上级 1da24bc7
...@@ -3006,6 +3006,10 @@ void Compile::final_graph_reshaping_impl( Node *n, Final_Reshape_Counts &frc) { ...@@ -3006,6 +3006,10 @@ void Compile::final_graph_reshaping_impl( Node *n, Final_Reshape_Counts &frc) {
if (result != NULL) { if (result != NULL) {
for (DUIterator_Fast jmax, j = result->fast_outs(jmax); j < jmax; j++) { for (DUIterator_Fast jmax, j = result->fast_outs(jmax); j < jmax; j++) {
Node* out = result->fast_out(j); Node* out = result->fast_out(j);
// Phi nodes shouldn't be moved. They would only match below if they
// had the same control as the MathExactNode. The only time that
// would happen is if the Phi is also an input to the MathExact
if (!out->is_Phi()) {
if (out->in(0) == NULL) { if (out->in(0) == NULL) {
out->set_req(0, non_throwing); out->set_req(0, non_throwing);
} else if (out->in(0) == ctrl) { } else if (out->in(0) == ctrl) {
...@@ -3014,6 +3018,7 @@ void Compile::final_graph_reshaping_impl( Node *n, Final_Reshape_Counts &frc) { ...@@ -3014,6 +3018,7 @@ void Compile::final_graph_reshaping_impl( Node *n, Final_Reshape_Counts &frc) {
} }
} }
} }
}
break; break;
default: default:
assert( !n->is_Call(), "" ); assert( !n->is_Call(), "" );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册