# HG changeset patch # User goetz # Date 1445430289 -7200 # Node ID b6b816044b34c0b13f7e6ebf41d61b1e2384ec79 # Parent 03fa0a35a468614966179d61b26f92c266f8c5e1 8140239: Fix product build after "8132168: Support IdealGraphVisualizer in optimized build" diff --git a/src/share/vm/compiler/compilerDirectives.hpp b/src/share/vm/compiler/compilerDirectives.hpp --- a/src/share/vm/compiler/compilerDirectives.hpp +++ b/src/share/vm/compiler/compilerDirectives.hpp @@ -31,6 +31,7 @@ #include "compiler/methodMatcher.hpp" #include "compiler/compilerOracle.hpp" #include "oops/oop.inline.hpp" +#include "opto/c2_globals.hpp" #include "utilities/exceptions.hpp" // Directives flag name, type, default value, compile command name @@ -67,7 +68,7 @@ cflags(VectorizeDebug, bool, false, VectorizeDebug) \ cflags(CloneMapDebug, bool, false, CloneMapDebug) \ cflags(DoReserveCopyInSuperWordDebug, bool, false, DoReserveCopyInSuperWordDebug) \ - cflags(IGVPrintLevel, intx, PrintIdealGraphLevel, IGVPrintLevel) \ + cflags(IGVPrintLevel, intx, NOT_PRODUCT(PrintIdealGraphLevel+)0, IGVPrintLevel) \ cflags(MaxNodeLimit, intx, MaxNodeLimit, MaxNodeLimit) #else #define compilerdirectives_c2_flags(cflags)