Mercurial > hg > truffle
diff src/cpu/sparc/vm/sharedRuntime_sparc.cpp @ 176:6b648fefb395
6705523: Fix for 6695506 will violate spec when used in JDK6
Summary: Make max classfile version number dependent on JDK version
Reviewed-by: acorn, never
author | kamg |
---|---|
date | Thu, 22 May 2008 13:03:52 -0400 |
parents | 018d5b58dd4f |
children | 1f809e010142 |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/sharedRuntime_sparc.cpp Wed May 14 15:01:08 2008 -0700 +++ b/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;