equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2019, 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. |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 #ifndef CPU_X86_VM_TEMPLATETABLE_X86_HPP |
25 #ifndef CPU_X86_TEMPLATETABLE_X86_HPP |
26 #define CPU_X86_VM_TEMPLATETABLE_X86_HPP |
26 #define CPU_X86_TEMPLATETABLE_X86_HPP |
27 |
27 |
28 static void prepare_invoke(int byte_no, |
28 static void prepare_invoke(int byte_no, |
29 Register method, // linked method (or i-klass) |
29 Register method, // linked method (or i-klass) |
30 Register index = noreg, // itable index, MethodType, etc. |
30 Register index = noreg, // itable index, MethodType, etc. |
31 Register recv = noreg, // if caller wants to see it |
31 Register recv = noreg, // if caller wants to see it |
41 |
41 |
42 static void putfield_or_static_helper(int byte_no, bool is_static, RewriteControl rc, |
42 static void putfield_or_static_helper(int byte_no, bool is_static, RewriteControl rc, |
43 Register obj, Register off, Register flags); |
43 Register obj, Register off, Register flags); |
44 static void fast_storefield_helper(Address field, Register rax); |
44 static void fast_storefield_helper(Address field, Register rax); |
45 |
45 |
46 #endif // CPU_X86_VM_TEMPLATETABLE_X86_HPP |
46 #endif // CPU_X86_TEMPLATETABLE_X86_HPP |