Mercurial > hg > truffle
diff src/cpu/x86/vm/c1_FrameMap_x86.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 | 9ee9cf798b59 |
children | c18cbe5936b8 61b2245abf36 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/c1_FrameMap_x86.hpp Tue Mar 16 15:35:33 2010 -0700 +++ b/src/cpu/x86/vm/c1_FrameMap_x86.hpp Wed Mar 17 10:22:41 2010 +0100 @@ -1,5 +1,5 @@ /* - * Copyright 1999-2008 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 @@ -126,3 +126,6 @@ assert(i >= 0 && i < nof_caller_save_xmm_regs, "out of bounds"); return _caller_save_xmm_regs[i]; } + + // JSR 292 + static LIR_Opr& method_handle_invoke_SP_save_opr() { return rbp_opr; }