From a3b983aa5ed22e3e026f70f9a2c58f19ff334528 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Fri, 19 Aug 2016 22:31:42 +0000 Subject: MachineFunction: Make LastProperty an alias of the last property This avoids unnecessary cases in switch statements covering all properties. llvm-svn: 279337 --- llvm/lib/CodeGen/MachineFunction.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/CodeGen') 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 -- cgit v1.2.3