Mercurial > hg > truffle
comparison src/cpu/x86/vm/interp_masm_x86_32.hpp @ 3336:2e038ad0c1d0
7009361: JSR 292 Invalid value on stack on solaris-sparc with -Xcomp
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Mon, 02 May 2011 18:53:37 -0700 |
parents | f95d63e2154a |
children | fdb992d83a87 |
comparison
equal
deleted
inserted
replaced
3335:49d67a090fe2 | 3336:2e038ad0c1d0 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. 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. |
121 } | 121 } |
122 | 122 |
123 // Helpers for swap and dup | 123 // Helpers for swap and dup |
124 void load_ptr(int n, Register val); | 124 void load_ptr(int n, Register val); |
125 void store_ptr(int n, Register val); | 125 void store_ptr(int n, Register val); |
126 | |
127 // Super call_VM calls - correspond to MacroAssembler::call_VM(_leaf) calls | |
128 void super_call_VM_leaf(address entry_point); | |
129 void super_call_VM_leaf(address entry_point, Register arg_1); | |
130 void super_call_VM_leaf(address entry_point, Register arg_1, Register arg_2); | |
131 void super_call_VM_leaf(address entry_point, Register arg_1, Register arg_2, Register arg_3); | |
132 | 126 |
133 // Generate a subtype check: branch to ok_is_subtype if sub_klass is | 127 // Generate a subtype check: branch to ok_is_subtype if sub_klass is |
134 // a subtype of super_klass. EAX holds the super_klass. Blows ECX | 128 // a subtype of super_klass. EAX holds the super_klass. Blows ECX |
135 // and EDI. Register sub_klass cannot be any of the above. | 129 // and EDI. Register sub_klass cannot be any of the above. |
136 void gen_subtype_check( Register sub_klass, Label &ok_is_subtype ); | 130 void gen_subtype_check( Register sub_klass, Label &ok_is_subtype ); |