diff 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
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIRGenerator.cpp	Fri Dec 12 19:53:25 2008 -0800
+++ b/src/share/vm/c1/c1_LIRGenerator.cpp	Fri Dec 12 19:54:46 2008 -0800
@@ -1210,8 +1210,8 @@
         break;
       case T_LONG:
       case T_DOUBLE:
-        if (c->as_jint_hi_bits() != other->as_jint_lo_bits()) continue;
-        if (c->as_jint_lo_bits() != other->as_jint_hi_bits()) continue;
+        if (c->as_jint_hi_bits() != other->as_jint_hi_bits()) continue;
+        if (c->as_jint_lo_bits() != other->as_jint_lo_bits()) continue;
         break;
       case T_OBJECT:
         if (c->as_jobject() != other->as_jobject()) continue;