--- a/src/hotspot/share/opto/classes.cpp Tue Jun 12 07:52:30 2018 -0700
+++ b/src/hotspot/share/opto/classes.cpp Tue Jun 12 17:40:28 2018 +0200
@@ -47,11 +47,17 @@
#include "opto/rootnode.hpp"
#include "opto/subnode.hpp"
#include "opto/vectornode.hpp"
+#include "utilities/macros.hpp"
+#if INCLUDE_ZGC
+#include "gc/z/c2/zBarrierSetC2.hpp"
+#endif
// ----------------------------------------------------------------------------
// Build a table of virtual functions to map from Nodes to dense integer
// opcode names.
int Node::Opcode() const { return Op_Node; }
#define macro(x) int x##Node::Opcode() const { return Op_##x; }
+#define optionalmacro(x)
#include "classes.hpp"
#undef macro
+#undef optionalmacro