aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/1401-hotspot-aarch64-Add-missing-return-value-to-LIR_Asse.patch
blob: e4aa48ff50b34bbc5e491296489b1f5c2188fc40 (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
39
40
From 2e611155c42352c1a0c15078681c6712711f6c01 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
Date: Mon, 13 Aug 2018 17:03:56 +0100
Subject: [PATCH 1401/1402] hotspot/aarch64: Add missing return value to
 LIR_Assembler::as_Address
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

|# HG changeset patch
|# User andrew
|# Date 1518669922 0
|#      Thu Feb 15 04:45:22 2018 +0000
|# Node ID adaf109718c10888cce5b6e73af7f3e15a7ab0db
|# Parent  3ade0115344b77e6d00462044e0cf68722685bfe
PR3519: Fix further functions with a missing return value.

Upstream-Status: Backport

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
---
 src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp b/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp
index 7b85119c3..074e71a7d 100644
--- a/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp
+++ b/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp
@@ -207,6 +207,7 @@ Address LIR_Assembler::as_Address(LIR_Address* addr, Register tmp) {
       return Address(base, tmp, Address::lsl(addr->scale()));
     }
   }
+  return Address();
 }
 
 Address LIR_Assembler::as_Address_hi(LIR_Address* addr) {
-- 
2.26.2