equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2014, 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. |
23 */ |
23 */ |
24 |
24 |
25 #ifndef SHARE_VM_CODE_COMPILEDIC_HPP |
25 #ifndef SHARE_VM_CODE_COMPILEDIC_HPP |
26 #define SHARE_VM_CODE_COMPILEDIC_HPP |
26 #define SHARE_VM_CODE_COMPILEDIC_HPP |
27 |
27 |
|
28 #include "code/nativeInst.hpp" |
28 #include "interpreter/linkResolver.hpp" |
29 #include "interpreter/linkResolver.hpp" |
29 #include "oops/compiledICHolder.hpp" |
30 #include "oops/compiledICHolder.hpp" |
30 #ifdef TARGET_ARCH_x86 |
|
31 # include "nativeInst_x86.hpp" |
|
32 #endif |
|
33 #ifdef TARGET_ARCH_sparc |
|
34 # include "nativeInst_sparc.hpp" |
|
35 #endif |
|
36 #ifdef TARGET_ARCH_zero |
|
37 # include "nativeInst_zero.hpp" |
|
38 #endif |
|
39 #ifdef TARGET_ARCH_arm |
|
40 # include "nativeInst_arm.hpp" |
|
41 #endif |
|
42 #ifdef TARGET_ARCH_ppc |
|
43 # include "nativeInst_ppc.hpp" |
|
44 #endif |
|
45 |
31 |
46 //----------------------------------------------------------------------------- |
32 //----------------------------------------------------------------------------- |
47 // The CompiledIC represents a compiled inline cache. |
33 // The CompiledIC represents a compiled inline cache. |
48 // |
34 // |
49 // In order to make patching of the inline cache MT-safe, we only allow the following |
35 // In order to make patching of the inline cache MT-safe, we only allow the following |