From: Aaron Ballman Date: Tue, 10 Mar 2015 13:56:28 +0000 (+0000) Subject: Removing dead code to silence warning C4060: switch statement contains no 'case'... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=93ca6e0d3b82aebc52a59c31e4c77d3139ed1cd9;p=oota-llvm.git Removing dead code to silence warning C4060: switch statement contains no 'case' or 'default' labels; NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231785 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Hexagon/HexagonSplitTFRCondSets.cpp b/lib/Target/Hexagon/HexagonSplitTFRCondSets.cpp index 2673425e755..731bc85f734 100644 --- a/lib/Target/Hexagon/HexagonSplitTFRCondSets.cpp +++ b/lib/Target/Hexagon/HexagonSplitTFRCondSets.cpp @@ -75,20 +75,6 @@ char HexagonSplitTFRCondSets::ID = 0; bool HexagonSplitTFRCondSets::runOnMachineFunction(MachineFunction &Fn) { - - - // Loop over all of the basic blocks. - for (MachineFunction::iterator MBBb = Fn.begin(), MBBe = Fn.end(); - MBBb != MBBe; ++MBBb) { - MachineBasicBlock* MBB = MBBb; - // Traverse the basic block. - for (MachineBasicBlock::iterator MII = MBB->begin(); MII != MBB->end(); - ++MII) { - MachineInstr *MI = MII; - switch(MI->getOpcode()) { - } - } - } return true; }