src/cpu/sparc/vm/sharedRuntime_sparc.cpp

changeset 614
1f809e010142
parent 600
437d03ea40b1
parent 611
6b648fefb395
child 631
d1605aabd0a1
child 779
6aae2f9d0294
     1.1 --- a/src/cpu/sparc/vm/sharedRuntime_sparc.cpp	Tue Jun 03 15:38:31 2008 -0700
     1.2 +++ b/src/cpu/sparc/vm/sharedRuntime_sparc.cpp	Fri Jun 06 13:43:36 2008 -0400
     1.3 @@ -2720,7 +2720,8 @@
     1.4  #endif /* ASSERT */
     1.5  
     1.6    VMRegPair zero;
     1.7 -  zero.set2(G0->as_VMReg());
     1.8 +  const Register g0 = G0; // without this we get a compiler warning (why??)
     1.9 +  zero.set2(g0->as_VMReg());
    1.10  
    1.11    int c_arg, j_arg;
    1.12  

mercurial