Mercurial > hg > truffle
comparison src/share/vm/graal/graalCodeInstaller.cpp @ 3133:5aeb62416609
Fixed an issue in the C++ code of the escape analysis (wrongly commented out code).
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Fri, 01 Jul 2011 21:07:29 +0200 |
parents | bee93b329be2 |
children | e4616e3d207b |
comparison
equal
deleted
inserted
replaced
3132:20058d88555b | 3133:5aeb62416609 |
---|---|
201 for (jint i = 0; i < values->length(); i++) { | 201 for (jint i = 0; i < values->length(); i++) { |
202 ((oop*) values->base(T_OBJECT))[i]; | 202 ((oop*) values->base(T_OBJECT))[i]; |
203 } | 203 } |
204 | 204 |
205 for (jint i = 0; i < values->length(); i++) { | 205 for (jint i = 0; i < values->length(); i++) { |
206 ScopeValue* second = NULL; | 206 ScopeValue* cur_second = NULL; |
207 ScopeValue* value = get_hotspot_value(((oop*) values->base(T_OBJECT))[i], frame_size, objects, second); | 207 ScopeValue* value = get_hotspot_value(((oop*) values->base(T_OBJECT))[i], frame_size, objects, cur_second); |
208 | 208 |
209 // if (second != NULL) { | 209 if (cur_second != NULL) { |
210 // sv->field_values()->append(second); | 210 sv->field_values()->append(cur_second); |
211 // } | 211 } |
212 sv->field_values()->append(value); | 212 sv->field_values()->append(value); |
213 } | 213 } |
214 | 214 |
215 // uint first_ind = spobj->first_index(); | 215 // uint first_ind = spobj->first_index(); |
216 // for (uint i = 0; i < spobj->n_fields(); i++) { | 216 // for (uint i = 0; i < spobj->n_fields(); i++) { |