Mercurial > hg > graal-compiler
comparison src/share/vm/opto/ifnode.cpp @ 12816:2720ab7a0d70
Merge
author | ccheung |
---|---|
date | Fri, 04 Oct 2013 21:00:43 -0700 |
parents | c9ccd7b85f20 |
children | 46ef27bcacb3 |
comparison
equal
deleted
inserted
replaced
12815:4212bfb33d76 | 12816:2720ab7a0d70 |
---|---|
74 // Look for a compare of a constant and a merged value | 74 // Look for a compare of a constant and a merged value |
75 Node *i1 = iff->in(1); | 75 Node *i1 = iff->in(1); |
76 if( !i1->is_Bool() ) return NULL; | 76 if( !i1->is_Bool() ) return NULL; |
77 BoolNode *b = i1->as_Bool(); | 77 BoolNode *b = i1->as_Bool(); |
78 Node *cmp = b->in(1); | 78 Node *cmp = b->in(1); |
79 if( cmp->is_FlagsProj() ) return NULL; | |
79 if( !cmp->is_Cmp() ) return NULL; | 80 if( !cmp->is_Cmp() ) return NULL; |
80 i1 = cmp->in(1); | 81 i1 = cmp->in(1); |
81 if( i1 == NULL || !i1->is_Phi() ) return NULL; | 82 if( i1 == NULL || !i1->is_Phi() ) return NULL; |
82 PhiNode *phi = i1->as_Phi(); | 83 PhiNode *phi = i1->as_Phi(); |
83 if( phi->is_copy() ) return NULL; | 84 if( phi->is_copy() ) return NULL; |