8328165: improve assert(idx < _maxlrg) failed: oob
Reviewed-by: mdoerr, chagedorn
This commit is contained in:
parent
128e60a29f
commit
d57bdd85ab
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user