changeset 55747:4d421888ad63

8228420: compile error in shenandoahSupport.cpp with clang 9 Reviewed-by: shade
author mbaesken
date Fri, 19 Jul 2019 12:35:33 +0200
parents 709913d8ace9
children c6923eaecd7b
files src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp	Fri Jul 12 19:37:25 2019 +0200
+++ b/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp	Fri Jul 19 12:35:33 2019 +0200
@@ -3016,7 +3016,7 @@
 }
 
 uint ShenandoahLoadReferenceBarrierNode::hash() const {
-  return Node::hash() + _native ? 1 : 0;
+  return Node::hash() + (_native ? 1 : 0);
 }
 
 bool ShenandoahLoadReferenceBarrierNode::cmp( const Node &n ) const {