src/share/vm/opto/output.cpp

changeset 7003
69ea58782b1a
parent 7001
b6a8cc1e0d92
child 7161
fc2c88ea11a9
     1.1 --- a/src/share/vm/opto/output.cpp	Tue Jul 29 13:56:29 2014 +0200
     1.2 +++ b/src/share/vm/opto/output.cpp	Thu Jul 31 19:59:36 2014 +0200
     1.3 @@ -783,7 +783,8 @@
     1.4      // grow downwards in all implementations.
     1.5      // (If, on some machine, the interpreter's Java locals or stack
     1.6      // were to grow upwards, the embedded doubles would be word-swapped.)
     1.7 -    jlong_accessor acc = { jlong_cast(d) };
     1.8 +    jlong_accessor acc;
     1.9 +    acc.long_value = jlong_cast(d);
    1.10      array->append(new ConstantIntValue(acc.words[1]));
    1.11      array->append(new ConstantIntValue(acc.words[0]));
    1.12  #endif
    1.13 @@ -802,7 +803,8 @@
    1.14      // grow downwards in all implementations.
    1.15      // (If, on some machine, the interpreter's Java locals or stack
    1.16      // were to grow upwards, the embedded doubles would be word-swapped.)
    1.17 -    jlong_accessor acc = { d };
    1.18 +    jlong_accessor acc;
    1.19 +    acc.long_value = d;
    1.20      array->append(new ConstantIntValue(acc.words[1]));
    1.21      array->append(new ConstantIntValue(acc.words[0]));
    1.22  #endif

mercurial