Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2017 04:53:51 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442135 - head/java/openjdk7/files
Message-ID:  <201705310453.v4V4rpJl026842@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Wed May 31 04:53:51 2017
New Revision: 442135
URL: https://svnweb.freebsd.org/changeset/ports/442135

Log:
  Fix compilation with Clang 4.0.

Added:
  head/java/openjdk7/files/patch-hotspot_src_share_vm_opto_lcm.cpp   (contents, props changed)

Added: head/java/openjdk7/files/patch-hotspot_src_share_vm_opto_lcm.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/openjdk7/files/patch-hotspot_src_share_vm_opto_lcm.cpp	Wed May 31 04:53:51 2017	(r442135)
@@ -0,0 +1,11 @@
+--- hotspot/src/share/vm/opto/lcm.cpp.orig	2017-05-30 23:06:51 UTC
++++ hotspot/src/share/vm/opto/lcm.cpp
+@@ -57,7 +57,7 @@
+ // Check whether val is not-null-decoded compressed oop,
+ // i.e. will grab into the base of the heap if it represents NULL.
+ static bool accesses_heap_base_zone(Node *val) {
+-  if (Universe::narrow_oop_base() > 0) { // Implies UseCompressedOops.
++  if (Universe::narrow_oop_base() != NULL) { // Implies UseCompressedOops.
+     if (val && val->is_Mach()) {
+       if (val->as_Mach()->ideal_Opcode() == Op_DecodeN) {
+         // This assumes all Decodes with TypePtr::NotNull are matched to nodes that



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705310453.v4V4rpJl026842>