Mercurial > hg > truffle
comparison src/share/vm/opto/live.cpp @ 10111:8373c19be854
8011621: live_ranges_in_separate_class.patch
Reviewed-by: kvn, roland
Contributed-by: niclas.adlertz@oracle.com
author | neliasso |
---|---|
date | Tue, 16 Apr 2013 10:08:41 +0200 |
parents | 8e47bac5643a |
children | d1034bd8cefc |
comparison
equal
deleted
inserted
replaced
10109:1c6887c9afaa | 10111:8373c19be854 |
---|---|
42 // remaining new live-out values are ANDed with what is locally defined. | 42 // remaining new live-out values are ANDed with what is locally defined. |
43 // Leftover bits become the new live-in for the predecessor block, and the pred | 43 // Leftover bits become the new live-in for the predecessor block, and the pred |
44 // block is put on the worklist. | 44 // block is put on the worklist. |
45 // The locally live-in stuff is computed once and added to predecessor | 45 // The locally live-in stuff is computed once and added to predecessor |
46 // live-out sets. This separate compilation is done in the outer loop below. | 46 // live-out sets. This separate compilation is done in the outer loop below. |
47 PhaseLive::PhaseLive( const PhaseCFG &cfg, LRG_List &names, Arena *arena ) : Phase(LIVE), _cfg(cfg), _names(names), _arena(arena), _live(0) { | 47 PhaseLive::PhaseLive( const PhaseCFG &cfg, const LRG_List &names, Arena *arena ) : Phase(LIVE), _cfg(cfg), _names(names), _arena(arena), _live(0) { |
48 } | 48 } |
49 | 49 |
50 void PhaseLive::compute(uint maxlrg) { | 50 void PhaseLive::compute(uint maxlrg) { |
51 _maxlrg = maxlrg; | 51 _maxlrg = maxlrg; |
52 _worklist = new (_arena) Block_List(); | 52 _worklist = new (_arena) Block_List(); |