# HG changeset patch # User goetz # Date 1445430289 -7200 # Node ID 105f9b9c0a8bedf4a9798a260fbbc47ec22ca6c3 # Parent 03fa0a35a468614966179d61b26f92c266f8c5e1 8140239: Fix product build after "8132168: Support IdealGraphVisualizer in optimized build" Reviewed-by: vlivanov 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) \ + NOT_PRODUCT(cflags(IGVPrintLevel, intx, PrintIdealGraphLevel, IGVPrintLevel)) \ cflags(MaxNodeLimit, intx, MaxNodeLimit, MaxNodeLimit) #else #define compilerdirectives_c2_flags(cflags)