summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-08-19 22:31:42 +0000
committerMatthias Braun <matze@braunis.de>2016-08-19 22:31:42 +0000
commita3b983aa5ed22e3e026f70f9a2c58f19ff334528 (patch)
tree66743d1d27154075f40910d75333c329ddf417e5 /llvm/lib/CodeGen
parent9b818ac5d9a617dc2485ca3ed83b08f46d30824b (diff)
downloadbcm5719-llvm-a3b983aa5ed22e3e026f70f9a2c58f19ff334528.tar.gz
bcm5719-llvm-a3b983aa5ed22e3e026f70f9a2c58f19ff334528.zip
MachineFunction: Make LastProperty an alias of the last property
This avoids unnecessary cases in switch statements covering all properties. llvm-svn: 279337
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index c84faafaa48..4cdb6c890a5 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -85,8 +85,6 @@ void MachineFunctionProperties::print(raw_ostream &ROS, bool OnlySet) const {
case Property::Selected:
ROS << (HasProperty ? "" : "not ") << "selected";
break;
- default:
- break;
}
}
#endif
OpenPOWER on IntegriCloud