Mercurial > hg > graal-compiler
diff src/share/vm/opto/loopopts.cpp @ 216:8d191a7697e2
6715633: when matching a memory node the adr_type should not change
Summary: verify the adr_type of a mach node was not changed
Reviewed-by: rasbold, never
author | kvn |
---|---|
date | Fri, 20 Jun 2008 11:10:05 -0700 |
parents | c436414a719e |
children | 1dd146f17531 |
line wrap: on
line diff
--- a/src/share/vm/opto/loopopts.cpp Fri Jun 20 10:17:09 2008 -0700 +++ b/src/share/vm/opto/loopopts.cpp Fri Jun 20 11:10:05 2008 -0700 @@ -2685,7 +2685,7 @@ if( !cle->stride_is_con() ) continue; // Hit! Refactor use to use the post-incremented tripcounter. // Compute a post-increment tripcounter. - Node *opaq = new (C, 2) Opaque2Node( cle->incr() ); + Node *opaq = new (C, 2) Opaque2Node( C, cle->incr() ); register_new_node( opaq, u_ctrl ); Node *neg_stride = _igvn.intcon(-cle->stride_con()); set_ctrl(neg_stride, C->root());