comparison 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
comparison
equal deleted inserted replaced
1300:428a9c451986 1301:fc2c71045ada
1 /* 1 /*
2 * Copyright 1999-2006 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.
141 141
142 static VMReg fpu_regname (int n); 142 static VMReg fpu_regname (int n);
143 143
144 static bool is_caller_save_register (LIR_Opr reg); 144 static bool is_caller_save_register (LIR_Opr reg);
145 static bool is_caller_save_register (Register r); 145 static bool is_caller_save_register (Register r);
146
147 // JSR 292
148 static LIR_Opr& method_handle_invoke_SP_save_opr() { return L7_opr; }