< prev index next >
src/hotspot/share/opto/opcodes.hpp
Print this page
*** 25,34 ****
--- 25,35 ----
#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,54 ****
--- 46,56 ----
_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 >