Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Fri Jul 01 20:11:51 2011 +0200 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Fri Jul 01 21:07:29 2011 +0200 @@ -203,12 +203,12 @@ } for (jint i = 0; i < values->length(); i++) { - ScopeValue* second = NULL; - ScopeValue* value = get_hotspot_value(((oop*) values->base(T_OBJECT))[i], frame_size, objects, second); - -// if (second != NULL) { -// sv->field_values()->append(second); -// } + ScopeValue* cur_second = NULL; + ScopeValue* value = get_hotspot_value(((oop*) values->base(T_OBJECT))[i], frame_size, objects, cur_second); + + if (cur_second != NULL) { + sv->field_values()->append(cur_second); + } sv->field_values()->append(value); }