equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
682 |
682 |
683 overflow = false; |
683 overflow = false; |
684 Node* max_idx_expr = NULL; |
684 Node* max_idx_expr = NULL; |
685 const TypeInt* idx_type = TypeInt::INT; |
685 const TypeInt* idx_type = TypeInt::INT; |
686 if ((stride > 0) == (scale > 0) == upper) { |
686 if ((stride > 0) == (scale > 0) == upper) { |
|
687 guarantee(limit != NULL, "sanity"); |
687 if (TraceLoopPredicate) { |
688 if (TraceLoopPredicate) { |
688 if (limit->is_Con()) { |
689 if (limit->is_Con()) { |
689 predString->print("(%d ", con_limit); |
690 predString->print("(%d ", con_limit); |
690 } else { |
691 } else { |
691 predString->print("(limit "); |
692 predString->print("(limit "); |