aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/0013-hotspot-aarch64-Fix-further-functions-with-a-missing.patch
blob: 0216c68dd3c4bc605068e1f954dfd8b73f0df028 (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
From 3dffe06da016a959f1d8c3afc292ab92a9d4d137 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] hotspot/aarch64: Fix further functions with a missing return
 value.
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.

Signed-off-by: André Draszik <andre.draszik@jci.com>
Upstream-Status: Backport
---
 hotspot/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 4e98cb39..bbc81b4a 100644
--- a/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp
+++ b/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp
@@ -205,6 +205,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.18.0