8024924: Intrinsify java.lang.Math.addExact

Reviewed-by: kvn, twisti
This commit is contained in:
Rickard Bäckman 2013-09-27 08:39:19 +02:00
parent cd7bfac363
commit 441f1d74cf
34 changed files with 830 additions and 23 deletions

View file

@ -76,6 +76,7 @@ static Node* split_if(IfNode *iff, PhaseIterGVN *igvn) {
if( !i1->is_Bool() ) return NULL;
BoolNode *b = i1->as_Bool();
Node *cmp = b->in(1);
if( cmp->is_FlagsProj() ) return NULL;
if( !cmp->is_Cmp() ) return NULL;
i1 = cmp->in(1);
if( i1 == NULL || !i1->is_Phi() ) return NULL;