equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2010, 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_64_HPP |
|
26 #define CPU_X86_VM_TEMPLATETABLE_X86_64_HPP |
|
27 |
25 static void prepare_invoke(Register method, Register index, int byte_no); |
28 static void prepare_invoke(Register method, Register index, int byte_no); |
26 static void invokevirtual_helper(Register index, Register recv, |
29 static void invokevirtual_helper(Register index, Register recv, |
27 Register flags); |
30 Register flags); |
28 static void volatile_barrier(Assembler::Membar_mask_bits order_constraint); |
31 static void volatile_barrier(Assembler::Membar_mask_bits order_constraint); |
29 |
32 |
30 // Helpers |
33 // Helpers |
31 static void index_check(Register array, Register index); |
34 static void index_check(Register array, Register index); |
32 static void index_check_without_pop(Register array, Register index); |
35 static void index_check_without_pop(Register array, Register index); |
|
36 |
|
37 #endif // CPU_X86_VM_TEMPLATETABLE_X86_64_HPP |