Mercurial > hg > truffle
comparison src/share/vm/opto/live.hpp @ 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 | 8c83625e3a53 |
comparison
equal
deleted
inserted
replaced
10086:e0fb8a213650 | 10408:836a62f43af9 |
---|---|
78 IndexSet *_free_IndexSet; // Free list of same | 78 IndexSet *_free_IndexSet; // Free list of same |
79 | 79 |
80 Block_List *_worklist; // Worklist for iterative solution | 80 Block_List *_worklist; // Worklist for iterative solution |
81 | 81 |
82 const PhaseCFG &_cfg; // Basic blocks | 82 const PhaseCFG &_cfg; // Basic blocks |
83 LRG_List &_names; // Mapping from Nodes to live ranges | 83 const LRG_List &_names; // Mapping from Nodes to live ranges |
84 uint _maxlrg; // Largest live-range number | 84 uint _maxlrg; // Largest live-range number |
85 Arena *_arena; | 85 Arena *_arena; |
86 | 86 |
87 IndexSet *getset( Block *p ); | 87 IndexSet *getset( Block *p ); |
88 IndexSet *getfreeset( ); | 88 IndexSet *getfreeset( ); |
89 void freeset( const Block *p ); | 89 void freeset( const Block *p ); |
90 void add_liveout( Block *p, uint r, VectorSet &first_pass ); | 90 void add_liveout( Block *p, uint r, VectorSet &first_pass ); |
91 void add_liveout( Block *p, IndexSet *lo, VectorSet &first_pass ); | 91 void add_liveout( Block *p, IndexSet *lo, VectorSet &first_pass ); |
92 | 92 |
93 public: | 93 public: |
94 PhaseLive( const PhaseCFG &cfg, LRG_List &names, Arena *arena ); | 94 PhaseLive(const PhaseCFG &cfg, const LRG_List &names, Arena *arena); |
95 ~PhaseLive() {} | 95 ~PhaseLive() {} |
96 // Compute liveness info | 96 // Compute liveness info |
97 void compute(uint maxlrg); | 97 void compute(uint maxlrg); |
98 // Reset arena storage | 98 // Reset arena storage |
99 void reset() { _live = NULL; } | 99 void reset() { _live = NULL; } |