Mercurial > hg > graal-jvmci-8
diff src/cpu/sparc/vm/c1_FrameMap_sparc.hpp @ 1301:fc2c71045ada
6934966: JSR 292 add C1 logic for saved SP over MethodHandle calls
Summary: The logic for x86 C1 to save the SP over MH calls is pretty straight forward but SPARC handles that differently.
Reviewed-by: never, jrose
author | twisti |
---|---|
date | Wed, 17 Mar 2010 10:22:41 +0100 |
parents | a61af66fc99e |
children | c18cbe5936b8 61b2245abf36 |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/c1_FrameMap_sparc.hpp Tue Mar 16 15:35:33 2010 -0700 +++ b/src/cpu/sparc/vm/c1_FrameMap_sparc.hpp Wed Mar 17 10:22:41 2010 +0100 @@ -1,5 +1,5 @@ /* - * Copyright 1999-2006 Sun Microsystems, Inc. All Rights Reserved. + * Copyright 1999-2010 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -143,3 +143,6 @@ static bool is_caller_save_register (LIR_Opr reg); static bool is_caller_save_register (Register r); + + // JSR 292 + static LIR_Opr& method_handle_invoke_SP_save_opr() { return L7_opr; }