< prev index next >

src/share/vm/adlc/formssel.cpp

Print this page

        

*** 391,400 **** --- 391,405 ---- // Return 'true' if this instruction matches an ideal 'Nop' node bool InstructForm::is_ideal_nop() const { return _ident && _ident[0] == 'N' && _ident[1] == 'o' && _ident[2] == 'p' && _ident[3] == '_'; } + // Return 'true' if this instruction matches an ideal 'Msk' node + bool InstructForm::is_ideal_msk() const { + return _ident && _ident[0] == 'M' && _ident[1] == 's' && _ident[2] == 'k' && _ident[3] == '_' ; + } + bool InstructForm::is_ideal_control() const { if ( ! _matrule) return false; return is_ideal_return() || is_ideal_branch() || _matrule->is_ideal_jump() || is_ideal_halt(); }
*** 1161,1170 **** --- 1166,1178 ---- return "MachFastLockNode"; } else if (is_ideal_nop()) { return "MachNopNode"; } + else if (is_ideal_msk()) { + return "MachMskNode"; + } else if (is_mach_constant()) { return "MachConstantNode"; } else if (captures_bottom_type(globals)) { return "MachTypeNode";
< prev index next >