Mercurial > hg > truffle
comparison src/share/vm/opto/live.cpp @ 10169:e10e43e58e92
Merge
author | dlong |
---|---|
date | Wed, 24 Apr 2013 21:11:02 -0400 |
parents | 8373c19be854 |
children | d1034bd8cefc |
comparison
equal
deleted
inserted
replaced
10168:a6e09d6dd8e5 | 10169:e10e43e58e92 |
---|---|
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(); |