aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch
blob: 018640be67e40de7b6a91e15a0d0f17beb40ab83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- hotspot/src/cpu/zero/vm/entry_zero.hpp.orig
+++ hotspot/src/cpu/zero/vm/entry_zero.hpp
@@ -26,6 +26,10 @@
 #ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP
 #define CPU_ZERO_VM_ENTRY_ZERO_HPP
 
+#include "utilities/globalDefinitions.hpp"
+#include "utilities/exceptions.hpp"
+#include "interpreter/cppInterpreter.hpp"
+
 class ZeroEntry {
  public:
   ZeroEntry() {
--- hotspot/src/share/vm/interpreter/cppInterpreterGenerator.hpp.orig
+++ hotspot/src/share/vm/interpreter/cppInterpreterGenerator.hpp
@@ -30,6 +30,10 @@
 
 #ifdef CC_INTERP
 
+#ifdef TARGET_ARCH_zero
+#include "entry_zero.hpp"
+#endif
+
 class CppInterpreterGenerator: public AbstractInterpreterGenerator {
   protected:
   // shared code sequences
--- hotspot/src/cpu/zero/vm/nativeInst_zero.cpp.orig
+++ hotspot/src/cpu/zero/vm/nativeInst_zero.cpp
@@ -26,6 +26,9 @@
 #include "precompiled.hpp"
 #include "assembler_zero.inline.hpp"
 #include "memory/resourceArea.hpp"
+#ifdef CC_INTERP
+#include "entry_zero.hpp"
+#endif
 #include "nativeInst_zero.hpp"
 #include "oops/oop.inline.hpp"
 #include "runtime/handles.hpp"