< prev index next >

src/hotspot/share/opto/opcodes.hpp

Print this page

        

@@ -25,10 +25,11 @@
 #ifndef SHARE_VM_OPTO_OPCODES_HPP
 #define SHARE_VM_OPTO_OPCODES_HPP
 
 // Build a big enum of class names to give them dense integer indices
 #define macro(x) Op_##x,
+#define optionalmacro(x) macro(x)
 enum Opcodes {
   Op_Node = 0,
   macro(Set)                    // Instruction selection match rule
   macro(RegN)                   // Machine narrow oop register
   macro(RegI)                   // Machine integer register

@@ -45,10 +46,11 @@
   _last_machine_leaf,           // Split between regular opcodes and machine
 #include "classes.hpp"
   _last_opcode
 };
 #undef macro
+#undef optionalmacro
 
 // Table of names, indexed by Opcode
 extern const char *NodeClassNames[];
 
 #endif // SHARE_VM_OPTO_OPCODES_HPP
< prev index next >