1 /* |
1 /* |
2 * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2012, 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. |
105 int frame_size() const { return _frame_size; } |
105 int frame_size() const { return _frame_size; } |
106 int num_rt_args() const { return _num_rt_args; } |
106 int num_rt_args() const { return _num_rt_args; } |
107 int stub_id() const { return _stub_id; } |
107 int stub_id() const { return _stub_id; } |
108 |
108 |
109 // runtime calls (return offset of call to be used by GC map) |
109 // runtime calls (return offset of call to be used by GC map) |
110 int call_RT(Register oop_result1, Register oop_result2, address entry, int args_size = 0); |
110 int call_RT(Register oop_result1, Register metadata_result, address entry, int args_size = 0); |
111 int call_RT(Register oop_result1, Register oop_result2, address entry, Register arg1); |
111 int call_RT(Register oop_result1, Register metadata_result, address entry, Register arg1); |
112 int call_RT(Register oop_result1, Register oop_result2, address entry, Register arg1, Register arg2); |
112 int call_RT(Register oop_result1, Register metadata_result, address entry, Register arg1, Register arg2); |
113 int call_RT(Register oop_result1, Register oop_result2, address entry, Register arg1, Register arg2, Register arg3); |
113 int call_RT(Register oop_result1, Register metadata_result, address entry, Register arg1, Register arg2, Register arg3); |
114 }; |
114 }; |
115 |
115 |
116 #endif // SHARE_VM_C1_C1_MACROASSEMBLER_HPP |
116 #endif // SHARE_VM_C1_C1_MACROASSEMBLER_HPP |