Mercurial > hg > graal-compiler
comparison src/share/vm/opto/loopopts.cpp @ 253:b0fe4deeb9fb
6726999: nsk/stress/jck12a/jck12a010 assert(n != null,"Bad immediate dominator info.")
Summary: Escape Analysis fixes.
Reviewed-by: never, rasbold
author | kvn |
---|---|
date | Mon, 28 Jul 2008 17:12:52 -0700 |
parents | 020a0b730379 |
children | c3e045194476 |
comparison
equal
deleted
inserted
replaced
252:be7facf71163 | 253:b0fe4deeb9fb |
---|---|
576 // Attempt to use a conditional move instead of a phi/branch | 576 // Attempt to use a conditional move instead of a phi/branch |
577 if( ConditionalMoveLimit > 0 && n_op == Op_Region ) { | 577 if( ConditionalMoveLimit > 0 && n_op == Op_Region ) { |
578 Node *cmov = conditional_move( n ); | 578 Node *cmov = conditional_move( n ); |
579 if( cmov ) return cmov; | 579 if( cmov ) return cmov; |
580 } | 580 } |
581 if( n->is_CFG() || n_op == Op_StorePConditional || n_op == Op_StoreLConditional || n_op == Op_CompareAndSwapI || n_op == Op_CompareAndSwapL ||n_op == Op_CompareAndSwapP) return n; | 581 if( n->is_CFG() || n->is_LoadStore() ) |
582 return n; | |
582 if( n_op == Op_Opaque1 || // Opaque nodes cannot be mod'd | 583 if( n_op == Op_Opaque1 || // Opaque nodes cannot be mod'd |
583 n_op == Op_Opaque2 ) { | 584 n_op == Op_Opaque2 ) { |
584 if( !C->major_progress() ) // If chance of no more loop opts... | 585 if( !C->major_progress() ) // If chance of no more loop opts... |
585 _igvn._worklist.push(n); // maybe we'll remove them | 586 _igvn._worklist.push(n); // maybe we'll remove them |
586 return n; | 587 return n; |