Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/loopnode.hpp @ 3383:38569792a45a
7044725: -XX:-UnrollLimitCheck -Xcomp : Exception: String index out of range: 29488
Summary: Fix problems in new RCE code.
Reviewed-by: never
author | kvn |
---|---|
date | Mon, 16 May 2011 14:21:16 -0700 |
parents | bad7ecd0b6ed |
children | e3cbc9ddd434 |
line wrap: on
line diff
--- a/src/share/vm/opto/loopnode.hpp Thu May 12 22:05:08 2011 -0700 +++ b/src/share/vm/opto/loopnode.hpp Mon May 16 14:21:16 2011 -0700 @@ -932,6 +932,8 @@ // the pre-loop or the post-loop until the condition holds true in the main // loop. Scale_con, offset and limit are all loop invariant. void add_constraint( int stride_con, int scale_con, Node *offset, Node *low_limit, Node *upper_limit, Node *pre_ctrl, Node **pre_limit, Node **main_limit ); + // Helper function for add_constraint(). + Node* adjust_limit( int stride_con, Node * scale, Node *offset, Node *rc_limit, Node *loop_limit, Node *pre_ctrl ); // Partially peel loop up through last_peel node. bool partial_peel( IdealLoopTree *loop, Node_List &old_new );