Mercurial > hg > truffle
comparison src/share/vm/c1/c1_ValueMap.hpp @ 2491:0654ee04b214
Merge with OpenJDK.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 22 Apr 2011 15:30:53 +0200 |
parents | 425688247f3d |
children | 701a83c86f28 |
comparison
equal
deleted
inserted
replaced
2490:29246b1d2d3c | 2491:0654ee04b214 |
---|---|
139 virtual void kill_field(ciField* field) = 0; | 139 virtual void kill_field(ciField* field) = 0; |
140 virtual void kill_array(ValueType* type) = 0; | 140 virtual void kill_array(ValueType* type) = 0; |
141 | 141 |
142 // visitor functions | 142 // visitor functions |
143 void do_StoreField (StoreField* x) { | 143 void do_StoreField (StoreField* x) { |
144 if (!x->is_initialized()) { | 144 if (x->is_init_point()) { |
145 // putstatic is an initialization point so treat it as a wide kill | |
145 kill_memory(); | 146 kill_memory(); |
146 } else { | 147 } else { |
147 kill_field(x->field()); | 148 kill_field(x->field()); |
148 } | 149 } |
149 } | 150 } |
157 | 158 |
158 void do_Phi (Phi* x) { /* nothing to do */ } | 159 void do_Phi (Phi* x) { /* nothing to do */ } |
159 void do_Local (Local* x) { /* nothing to do */ } | 160 void do_Local (Local* x) { /* nothing to do */ } |
160 void do_Constant (Constant* x) { /* nothing to do */ } | 161 void do_Constant (Constant* x) { /* nothing to do */ } |
161 void do_LoadField (LoadField* x) { | 162 void do_LoadField (LoadField* x) { |
162 if (!x->is_initialized()) { | 163 if (x->is_init_point()) { |
164 // getstatic is an initialization point so treat it as a wide kill | |
163 kill_memory(); | 165 kill_memory(); |
164 } | 166 } |
165 } | 167 } |
166 void do_ArrayLength (ArrayLength* x) { /* nothing to do */ } | 168 void do_ArrayLength (ArrayLength* x) { /* nothing to do */ } |
167 void do_LoadIndexed (LoadIndexed* x) { /* nothing to do */ } | 169 void do_LoadIndexed (LoadIndexed* x) { /* nothing to do */ } |