summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch35
1 files changed, 4 insertions, 31 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch b/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch
index 018640b..b09745c 100644
--- a/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch
+++ b/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch
@@ -1,38 +1,11 @@
1--- hotspot/src/cpu/zero/vm/entry_zero.hpp.orig 1--- hotspot/src/cpu/zero/vm/entry_zero.hpp
2+++ hotspot/src/cpu/zero/vm/entry_zero.hpp 2+++ hotspot/src/cpu/zero/vm/entry_zero.hpp
3@@ -26,6 +26,10 @@ 3@@ -26,6 +26,8 @@
4 #ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP 4 #ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP
5 #define CPU_ZERO_VM_ENTRY_ZERO_HPP 5 #define CPU_ZERO_VM_ENTRY_ZERO_HPP
6 6
7+#include "utilities/globalDefinitions.hpp" 7+#include "utilities/globalDefinitions.hpp"
8+#include "utilities/exceptions.hpp" 8+#include "utilities/exceptions.hpp"
9+#include "interpreter/cppInterpreter.hpp" 9 #include "interpreter/cppInterpreter.hpp"
10+
11 class ZeroEntry {
12 public:
13 ZeroEntry() {
14--- hotspot/src/share/vm/interpreter/cppInterpreterGenerator.hpp.orig
15+++ hotspot/src/share/vm/interpreter/cppInterpreterGenerator.hpp
16@@ -30,6 +30,10 @@
17
18 #ifdef CC_INTERP
19 10
20+#ifdef TARGET_ARCH_zero 11 class ZeroEntry {
21+#include "entry_zero.hpp"
22+#endif
23+
24 class CppInterpreterGenerator: public AbstractInterpreterGenerator {
25 protected:
26 // shared code sequences
27--- hotspot/src/cpu/zero/vm/nativeInst_zero.cpp.orig
28+++ hotspot/src/cpu/zero/vm/nativeInst_zero.cpp
29@@ -26,6 +26,9 @@
30 #include "precompiled.hpp"
31 #include "assembler_zero.inline.hpp"
32 #include "memory/resourceArea.hpp"
33+#ifdef CC_INTERP
34+#include "entry_zero.hpp"
35+#endif
36 #include "nativeInst_zero.hpp"
37 #include "oops/oop.inline.hpp"
38 #include "runtime/handles.hpp"