hotspot/src/share/vm/opto/live.hpp
changeset 17013 22a05c7f3314
parent 15944 095248beb690
child 20007 b67e71448544
--- 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);