hotspot/src/share/vm/opto/output.cpp
changeset 25922 2967d086df71
parent 25918 79e4c4d9f5c9
child 25930 eae8b7490d2c
--- a/hotspot/src/share/vm/opto/output.cpp	Tue Jul 29 21:28:09 2014 +0000
+++ b/hotspot/src/share/vm/opto/output.cpp	Thu Jul 31 19:59:36 2014 +0200
@@ -785,7 +785,8 @@
     // grow downwards in all implementations.
     // (If, on some machine, the interpreter's Java locals or stack
     // were to grow upwards, the embedded doubles would be word-swapped.)
-    jlong_accessor acc = { jlong_cast(d) };
+    jlong_accessor acc;
+    acc.long_value = jlong_cast(d);
     array->append(new ConstantIntValue(acc.words[1]));
     array->append(new ConstantIntValue(acc.words[0]));
 #endif
@@ -804,7 +805,8 @@
     // grow downwards in all implementations.
     // (If, on some machine, the interpreter's Java locals or stack
     // were to grow upwards, the embedded doubles would be word-swapped.)
-    jlong_accessor acc = { d };
+    jlong_accessor acc;
+    acc.long_value = d;
     array->append(new ConstantIntValue(acc.words[1]));
     array->append(new ConstantIntValue(acc.words[0]));
 #endif