diff options
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/0001-hotspot-aarch32-fix-missing-return-values.patch')
-rw-r--r-- | recipes-core/openjdk/patches-openjdk-8/0001-hotspot-aarch32-fix-missing-return-values.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/0001-hotspot-aarch32-fix-missing-return-values.patch b/recipes-core/openjdk/patches-openjdk-8/0001-hotspot-aarch32-fix-missing-return-values.patch new file mode 100644 index 0000000..bedc448 --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/0001-hotspot-aarch32-fix-missing-return-values.patch | |||
@@ -0,0 +1,53 @@ | |||
1 | From 658adc5b6567e9a6df56beabb8d226a9b4d8e762 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | ||
3 | Date: Thu, 16 Aug 2018 02:27:44 +0100 | ||
4 | Subject: [PATCH] hotspot/aarch32: fix missing return values | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Signed-off-by: André Draszik <andre.draszik@jci.com> | ||
10 | --- | ||
11 | hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp | 3 +++ | ||
12 | hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp | 1 + | ||
13 | 2 files changed, 4 insertions(+) | ||
14 | |||
15 | diff --git a/hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp b/hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp | ||
16 | index cd291bf2..4ba98c68 100644 | ||
17 | --- a/hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp | ||
18 | +++ b/hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp | ||
19 | @@ -158,16 +158,19 @@ static Register as_reg(LIR_Opr op) { | ||
20 | Address LIR_Assembler::as_Address(LIR_Address* addr) { | ||
21 | // as_Address(LIR_Address*, Address::InsnDataType) should be used instead | ||
22 | ShouldNotCallThis(); | ||
23 | + return Address(); | ||
24 | } | ||
25 | |||
26 | Address LIR_Assembler::as_Address_hi(LIR_Address* addr) { | ||
27 | // as_Address_hi(LIR_Address*, Address::InsnDataType) should be used instead | ||
28 | ShouldNotCallThis(); | ||
29 | + return Address(); | ||
30 | } | ||
31 | |||
32 | Address LIR_Assembler::as_Address_lo(LIR_Address* addr) { | ||
33 | // as_Address_lo(LIR_Address*, Address::InsnDataType) should be used instead | ||
34 | ShouldNotCallThis(); | ||
35 | + return Address(); | ||
36 | } | ||
37 | |||
38 | Address LIR_Assembler::as_Address(LIR_Address* addr, Register tmp, Address::InsnDataType type) { | ||
39 | diff --git a/hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp b/hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp | ||
40 | index 979d53c9..c0b1a4c7 100644 | ||
41 | --- a/hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp | ||
42 | +++ b/hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp | ||
43 | @@ -87,6 +87,7 @@ address Relocation::pd_call_destination(address orig_addr) { | ||
44 | } | ||
45 | |||
46 | ShouldNotReachHere(); | ||
47 | + return NULL; | ||
48 | } | ||
49 | |||
50 | void Relocation::pd_set_call_destination(address x) { | ||
51 | -- | ||
52 | 2.18.0 | ||
53 | |||