comparison src/cpu/x86/vm/c1_FrameMap_x86.cpp @ 1564:61b2245abf36

6930772: JSR 292 needs to support SPARC C1 Summary: C1 for SPARC needs to support JSR 292. Reviewed-by: never, jrose
author twisti
date Fri, 21 May 2010 02:59:24 -0700
parents 9ee9cf798b59
children e9ff18c4ace7
comparison
equal deleted inserted replaced
1563:1a5913bf5e19 1564:61b2245abf36
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.
307 LIR_Opr FrameMap::stack_pointer() { 307 LIR_Opr FrameMap::stack_pointer() {
308 return FrameMap::rsp_opr; 308 return FrameMap::rsp_opr;
309 } 309 }
310 310
311 311
312 // JSR 292
313 LIR_Opr FrameMap::method_handle_invoke_SP_save_opr() {
314 assert(rbp == rbp_mh_SP_save, "must be same register");
315 return rbp_opr;
316 }
317
318
312 bool FrameMap::validate_frame() { 319 bool FrameMap::validate_frame() {
313 return true; 320 return true;
314 } 321 }