Mercurial > hg > truffle
comparison src/cpu/sparc/vm/interp_masm_sparc.hpp @ 1295:3cf667df43ef
6919934: JSR 292 needs to support x86 C1
Summary: This implements JSR 292 support for C1 x86.
Reviewed-by: never, jrose, kvn
author | twisti |
---|---|
date | Tue, 09 Mar 2010 20:16:19 +0100 |
parents | 87684f1a88b5 |
children | c640000b7cc1 |
comparison
equal
deleted
inserted
replaced
1293:51db1e4b379d | 1295:3cf667df43ef |
---|---|
1 /* | 1 /* |
2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 1997-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. |
119 Register arg_1, | 119 Register arg_1, |
120 Register arg_2, | 120 Register arg_2, |
121 bool check_exception = true); | 121 bool check_exception = true); |
122 | 122 |
123 #ifndef CC_INTERP | 123 #ifndef CC_INTERP |
124 void super_call_VM_leaf(Register thread_cache, address entry_point, Register arg_1); | 124 void super_call_VM_leaf(Register thread_cache, address entry_point, Register arg_1, Register arg_2); |
125 | 125 |
126 // Generate a subtype check: branch to ok_is_subtype if sub_klass is | 126 // Generate a subtype check: branch to ok_is_subtype if sub_klass is |
127 // a subtype of super_klass. Blows registers tmp1, tmp2 and tmp3. | 127 // a subtype of super_klass. Blows registers tmp1, tmp2 and tmp3. |
128 void gen_subtype_check( Register sub_klass, Register super_klass, Register tmp1, Register tmp2, Register tmp3, Label &ok_is_subtype ); | 128 void gen_subtype_check( Register sub_klass, Register super_klass, Register tmp1, Register tmp2, Register tmp3, Label &ok_is_subtype ); |
129 | 129 |