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
Copy file name to clipboardExpand all lines: src/hotspot/share/opto/chaitin.hpp
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ class PhaseChaitin;
48
48
// Live-RanGe structure.
49
49
class LRG : public ResourceObj {
50
50
public:
51
-
staticconst uint AllStack_size = 0xFFFFF; // This mask size is used to tell that the mask of this LRG supports stack positions
51
+
staticconst uint INFINITE_STACK_SIZE = 0xFFFFF; // This mask size is used to tell that the mask of this LRG supports stack positions
52
52
enum { SPILL_REG=29999 }; // Register number of a spilled LRG
53
53
54
54
double _cost; // 2 for loads/1 for stores times block freq
@@ -83,14 +83,14 @@ class LRG : public ResourceObj {
83
83
voidset_degree( uint degree ) {
84
84
_eff_degree = degree;
85
85
DEBUG_ONLY(_degree_valid = 1;)
86
-
assert(!_mask.is_AllStack() || (_mask.is_AllStack() && lo_degree()), "_eff_degree can't be bigger than AllStack_size - _num_regs if the mask supports stack registers");
86
+
assert(!_mask.is_infinite_stack() || (_mask.is_infinite_stack() && lo_degree()), "_eff_degree can't be bigger than INFINITE_STACK_SIZE - _num_regs if the mask supports stack registers");
// Incrementally modify degree. If it was correct, it should remain correct
91
91
voidinc_degree( uint mod ) {
92
92
_eff_degree += mod;
93
-
assert(!_mask.is_AllStack() || (_mask.is_AllStack() && lo_degree()), "_eff_degree can't be bigger than AllStack_size - _num_regs if the mask supports stack registers");
93
+
assert(!_mask.is_infinite_stack() || (_mask.is_infinite_stack() && lo_degree()), "_eff_degree can't be bigger than INFINITE_STACK_SIZE - _num_regs if the mask supports stack registers");
94
94
}
95
95
// Compute the degree between 2 live ranges
96
96
intcompute_degree( LRG &l ) const;
@@ -105,9 +105,9 @@ class LRG : public ResourceObj {
0 commit comments