8328165: improve assert(idx < _maxlrg) failed: oob

Reviewed-by: mdoerr, chagedorn
This commit is contained in:
Matthias Baesken 2024-03-15 08:11:17 +00:00
parent 128e60a29f
commit d57bdd85ab

View File

@ -292,7 +292,7 @@ public:
#endif #endif
//--------------- Live Range Accessors //--------------- Live Range Accessors
LRG &lrgs(uint idx) const { assert(idx < _maxlrg, "oob"); return _lrgs[idx]; } LRG &lrgs(uint idx) const { assert(idx < _maxlrg, "oob: index %u not smaller than %u", idx, _maxlrg); return _lrgs[idx]; }
// Compute and set effective degree. Might be folded into SquareUp(). // Compute and set effective degree. Might be folded into SquareUp().
void Compute_Effective_Degree(); void Compute_Effective_Degree();