8028198: SIGSEGV in PhaseIdealLoop::build_loop_late_post

Reviewed-by: iveresov, kvn
This commit is contained in:
Rickard Bäckman 2013-11-12 13:47:57 +01:00
parent 31d2d5121a
commit 0ef4539a9f
2 changed files with 57 additions and 0 deletions

View file

@ -42,6 +42,13 @@ Node *PhaseIdealLoop::split_thru_phi( Node *n, Node *region, int policy ) {
// so disable this for now
return NULL;
}
if (n->is_MathExact()) {
// MathExact has projections that are not correctly handled in the code
// below.
return NULL;
}
int wins = 0;
assert(!n->is_CFG(), "");
assert(region->is_Region(), "");