Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalCodeInstaller.cpp @ 18950:3fc907b46313
[SPARC] Fix Partial Escape Analysis for SPARC in Truffle
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Mon, 26 Jan 2015 21:21:06 +0100 |
parents | 82e5b5ccdb0c |
children | 063e8873bd14 |
comparison
equal
deleted
inserted
replaced
18949:886cf229e5ee | 18950:3fc907b46313 |
---|---|
345 ScopeValue* value = get_scope_value(object, total_frame_size, objects, cur_second, oop_recorder); | 345 ScopeValue* value = get_scope_value(object, total_frame_size, objects, cur_second, oop_recorder); |
346 | 346 |
347 if (isLongArray && cur_second == NULL) { | 347 if (isLongArray && cur_second == NULL) { |
348 // we're trying to put ints into a long array... this isn't really valid, but it's used for some optimizations. | 348 // we're trying to put ints into a long array... this isn't really valid, but it's used for some optimizations. |
349 // add an int 0 constant | 349 // add an int 0 constant |
350 #ifdef VM_LITTLE_ENDIAN | |
351 cur_second = _int_0_scope_value; | 350 cur_second = _int_0_scope_value; |
352 #else | |
353 cur_second = value; | |
354 value = _int_0_scope_value; | |
355 #endif | |
356 } | 351 } |
357 | 352 |
358 if (cur_second != NULL) { | 353 if (cur_second != NULL) { |
359 sv->field_values()->append(cur_second); | 354 sv->field_values()->append(cur_second); |
360 } | 355 } |