Mercurial > hg > truffle
diff src/share/vm/graal/graalCodeInstaller.cpp @ 5126:43d5ae1051f7
added better debug output when an optimistic deoptimization is disabled
fixed inconsistent newline characters in C++ file
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Tue, 20 Mar 2012 16:15:27 -0700 |
parents | 9ec2917fd0de |
children | ab038e0d6b43 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Tue Mar 20 12:16:14 2012 -0700 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Tue Mar 20 16:15:27 2012 -0700 @@ -199,15 +199,15 @@ ScopeValue* cur_second = NULL; ScopeValue* value = get_hotspot_value(((oop*) values->base(T_OBJECT))[i], total_frame_size, objects, cur_second); - if (isLongArray && cur_second == NULL) { - // we're trying to put ints into a long array... this isn't really valid, but it's used for some optimizations. - // add an int 0 constant -#ifdef BIG_ENDIAN - cur_second = value; - value = new ConstantIntValue(0); -#else - cur_second = new ConstantIntValue(0); -#endif + if (isLongArray && cur_second == NULL) { + // we're trying to put ints into a long array... this isn't really valid, but it's used for some optimizations. + // add an int 0 constant +#ifdef BIG_ENDIAN + cur_second = value; + value = new ConstantIntValue(0); +#else + cur_second = new ConstantIntValue(0); +#endif } if (cur_second != NULL) {