src/cpu/sparc/vm/c1_MacroAssembler_sparc.cpp

changeset 1730
3cf667df43ef
parent 1215
c96bf21b756f
child 1907
c18cbe5936b8
equal deleted inserted replaced
1728:51db1e4b379d 1730:3cf667df43ef
1 /* 1 /*
2 * Copyright 1999-2009 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.
37 AddressLiteral ic_miss(SharedRuntime::get_ic_miss_stub()); 37 AddressLiteral ic_miss(SharedRuntime::get_ic_miss_stub());
38 jump_to(ic_miss, temp_reg); 38 jump_to(ic_miss, temp_reg);
39 delayed()->nop(); 39 delayed()->nop();
40 align(CodeEntryAlignment); 40 align(CodeEntryAlignment);
41 bind(L); 41 bind(L);
42 }
43
44
45 void C1_MacroAssembler::method_exit(bool restore_frame) {
46 // this code must be structured this way so that the return
47 // instruction can be a safepoint.
48 if (restore_frame) {
49 restore();
50 }
51 retl();
52 delayed()->nop();
53 } 42 }
54 43
55 44
56 void C1_MacroAssembler::explicit_null_check(Register base) { 45 void C1_MacroAssembler::explicit_null_check(Register base) {
57 Unimplemented(); 46 Unimplemented();

mercurial