File aarch64-remove-unused-code.patch of Package java-1_7_0-openjdk.14785

# HG changeset patch
# User aph
# Date 1456412384 0
#      Thu Feb 25 14:59:44 2016 +0000
# Node ID 5e587a29a6aac06d6b5a7ebeea99a291d82520c8
# Parent  15b7a15b93103e76338d1bc3d6c6fc37f1805b88
8150652, PR2922: Remove unused code in AArch64 back end
Reviewed-by: kvn

diff --git a/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp b/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp
--- openjdk/hotspot/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp
+++ openjdk/hotspot/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp
@@ -207,10 +207,6 @@
   return (r->reg2stack() + SharedRuntime::out_preserve_stack_slots()) * VMRegImpl::stack_slot_size;
 }
 
-template <class T> static const T& min (const T& a, const T& b) {
-  return (a > b) ? b : a;
-}
-
 // ---------------------------------------------------------------------------
 // Read the array of BasicTypes from a signature, and compute where the
 // arguments should go.  Values in the VMRegPair regs array refer to 4-byte
openSUSE Build Service is sponsored by