< prev index next >
src/share/vm/adlc/formssel.cpp
Print this page
@@ -391,10 +391,15 @@
// 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,10 +1166,13 @@
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 >