Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
1300:428a9c451986 | 1301:fc2c71045ada |
---|---|
1 /* | 1 /* |
2 * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 1999-2010 Sun Microsystems, Inc. All Rights Reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
124 | 124 |
125 static LIR_Opr caller_save_xmm_reg_at(int i) { | 125 static LIR_Opr caller_save_xmm_reg_at(int i) { |
126 assert(i >= 0 && i < nof_caller_save_xmm_regs, "out of bounds"); | 126 assert(i >= 0 && i < nof_caller_save_xmm_regs, "out of bounds"); |
127 return _caller_save_xmm_regs[i]; | 127 return _caller_save_xmm_regs[i]; |
128 } | 128 } |
129 | |
130 // JSR 292 | |
131 static LIR_Opr& method_handle_invoke_SP_save_opr() { return rbp_opr; } |