comparison src/share/vm/opto/live.cpp @ 10408:836a62f43af9

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Wed, 19 Jun 2013 10:45:56 +0200
parents 8373c19be854
children d1034bd8cefc
comparison
equal deleted inserted replaced
10086:e0fb8a213650 10408:836a62f43af9
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();