From d943b3b49ea493997b92610b10013f9bc6ac76e5 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sat, 23 Nov 2013 18:07:36 -0800 Subject: clean up br --- lib/Target/CppBackend/CPPBackend.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/Target/CppBackend/CPPBackend.cpp') diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index f862f77124..d04e148bf4 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -1300,10 +1300,7 @@ std::string CppWriter::generateInstruction(const Instruction *I) { } break; } - case Instruction::Br: { - text = ""; - break; - } + case Instruction::Br: break; // handled while relooping case Instruction::Switch: { const SwitchInst *SI = cast(I); Out << "SwitchInst* " << iName << " = SwitchInst::Create(" -- cgit v1.2.3-18-g5258