comparison src/share/vm/c1/c1_LIRGenerator.cpp @ 486:a738a625039a

6757316: load_constant() produces a wrong long constant, with high a low words swapped Reviewed-by: rasbold, jrose, kvn
author never
date Fri, 12 Dec 2008 19:54:46 -0800
parents eb28cf662f56
children 0fbdb4381b99
comparison
equal deleted inserted replaced
485:ac8fe14c93e4 486:a738a625039a
1208 case T_FLOAT: 1208 case T_FLOAT:
1209 if (c->as_jint_bits() != other->as_jint_bits()) continue; 1209 if (c->as_jint_bits() != other->as_jint_bits()) continue;
1210 break; 1210 break;
1211 case T_LONG: 1211 case T_LONG:
1212 case T_DOUBLE: 1212 case T_DOUBLE:
1213 if (c->as_jint_hi_bits() != other->as_jint_lo_bits()) continue; 1213 if (c->as_jint_hi_bits() != other->as_jint_hi_bits()) continue;
1214 if (c->as_jint_lo_bits() != other->as_jint_hi_bits()) continue; 1214 if (c->as_jint_lo_bits() != other->as_jint_lo_bits()) continue;
1215 break; 1215 break;
1216 case T_OBJECT: 1216 case T_OBJECT:
1217 if (c->as_jobject() != other->as_jobject()) continue; 1217 if (c->as_jobject() != other->as_jobject()) continue;
1218 break; 1218 break;
1219 } 1219 }