From 4385fa7834975898161a73c4a7d385c0c9c75cae Mon Sep 17 00:00:00 2001
From: Christian Hagedorn <christian.hagedorn@oracle.com>
Date: Thu, 26 Sep 2024 09:39:04 +0200
Subject: [PATCH] Add missing public for UnifiedPredicateVisitor

---
 src/hotspot/share/opto/predicates.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/hotspot/share/opto/predicates.hpp b/src/hotspot/share/opto/predicates.hpp
index eb7a361557d7a..b38b888cc3dba 100644
--- a/src/hotspot/share/opto/predicates.hpp
+++ b/src/hotspot/share/opto/predicates.hpp
@@ -638,6 +638,7 @@ class PredicateIterator : public StackObj {
 // PredicateVisitor by calling the unified method. These visit methods are marked final such that they cannot be
 // overridden by implementors of this class.
 class UnifiedPredicateVisitor : public PredicateVisitor {
+ public:
   virtual void visit(const TemplateAssertionPredicate& template_assertion_predicate) override final {
     visit_predicate(template_assertion_predicate);
   }