You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The final value should be in integer range since the loop
2313
2313
// is counted and the limit was checked for overflow.
2314
-
assert(final_con == (jlong)final_int, "final value should be integer");
2315
-
returnTypeInt::make(final_int);
2314
+
// Assert checks for overflow only if all input nodes are ConINodes, as during CCP
2315
+
// there might be a temporary overflow from PhiNodes see JDK-8309266
2316
+
assert((in(Init)->is_ConI() && in(Limit)->is_ConI() && in(Stride)->is_ConI()) ? final_con == (jlong)final_int : true, "final value should be integer");
0 commit comments