MachineFunction: Make LastProperty an alias of the last property

This avoids unnecessary cases in switch statements covering all
properties.

llvm-svn: 279337
This commit is contained in:
Matthias Braun
2016-08-19 22:31:42 +00:00
parent 9b818ac5d9
commit a3b983aa5e
2 changed files with 2 additions and 4 deletions

View File

@@ -85,8 +85,6 @@ void MachineFunctionProperties::print(raw_ostream &ROS, bool OnlySet) const {
case Property::Selected:
ROS << (HasProperty ? "" : "not ") << "selected";
break;
default:
break;
}
}
#endif