changeset 605 | a4a9ed21e981 |
parent 591 | 04d2e26e6d69 |
parent 602 | 92e03692ddd6 |
child 670 | ddf3e9583f2f |
child 1376 | f7fc7a708b63 |
--- a/hotspot/src/cpu/sparc/vm/sharedRuntime_sparc.cpp Tue Jun 03 15:38:31 2008 -0700 +++ b/hotspot/src/cpu/sparc/vm/sharedRuntime_sparc.cpp Fri Jun 06 13:43:36 2008 -0400 @@ -2720,7 +2720,8 @@ #endif /* ASSERT */ VMRegPair zero; - zero.set2(G0->as_VMReg()); + const Register g0 = G0; // without this we get a compiler warning (why??) + zero.set2(g0->as_VMReg()); int c_arg, j_arg;