diff options
Diffstat (limited to 'lib/Target/CppBackend/CPPBackend.cpp')
-rw-r--r-- | lib/Target/CppBackend/CPPBackend.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index 51c6ea6d6d..bb121b2388 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -1325,7 +1325,8 @@ std::string CppWriter::generateInstruction(const Instruction *I) { break; } case Instruction::Unreachable: { - text += "abort();"; + // No need to emit anything, as there should be an abort right before these + // text += "abort();"; break; } case Instruction::Add: |