--- a/hotspot/src/share/vm/opto/live.hpp Mon Apr 15 16:20:05 2013 -0700
+++ b/hotspot/src/share/vm/opto/live.hpp Tue Apr 16 10:08:41 2013 +0200
@@ -80,7 +80,7 @@
Block_List *_worklist; // Worklist for iterative solution
const PhaseCFG &_cfg; // Basic blocks
- LRG_List &_names; // Mapping from Nodes to live ranges
+ const LRG_List &_names; // Mapping from Nodes to live ranges
uint _maxlrg; // Largest live-range number
Arena *_arena;
@@ -91,7 +91,7 @@
void add_liveout( Block *p, IndexSet *lo, VectorSet &first_pass );
public:
- PhaseLive( const PhaseCFG &cfg, LRG_List &names, Arena *arena );
+ PhaseLive(const PhaseCFG &cfg, const LRG_List &names, Arena *arena);
~PhaseLive() {}
// Compute liveness info
void compute(uint maxlrg);