# HG changeset patch # User mbaesken # Date 1563532533 -7200 # Node ID 4d421888ad6317df3870b00bcee77b124deae152 # Parent 709913d8ace9a65a0b6ea26df05904c8c86a8c0c 8228420: compile error in shenandoahSupport.cpp with clang 9 Reviewed-by: shade diff -r 709913d8ace9 -r 4d421888ad63 src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp --- 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 {