diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-11-23 18:07:36 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-11-23 18:07:36 -0800 |
commit | d943b3b49ea493997b92610b10013f9bc6ac76e5 (patch) | |
tree | d505b842f76cc3f379839506724d3c3f3dd52ce1 /lib/Target/CppBackend/CPPBackend.cpp | |
parent | 9d35f4019d795955575850b6d2720d230f955af6 (diff) |
clean up br
Diffstat (limited to 'lib/Target/CppBackend/CPPBackend.cpp')
-rw-r--r-- | lib/Target/CppBackend/CPPBackend.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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<SwitchInst>(I); Out << "SwitchInst* " << iName << " = SwitchInst::Create(" |