changeset 602 | 92e03692ddd6 |
parent 363 | 99d43e8a76ad |
child 605 | a4a9ed21e981 |
--- a/hotspot/src/cpu/sparc/vm/sharedRuntime_sparc.cpp Wed May 14 15:01:08 2008 -0700 +++ b/hotspot/src/cpu/sparc/vm/sharedRuntime_sparc.cpp Thu May 22 13:03:52 2008 -0400 @@ -2721,7 +2721,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;