aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/CppBackend/CPPBackend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/CppBackend/CPPBackend.cpp')
-rw-r--r--lib/Target/CppBackend/CPPBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp
index f847ba1469..a1102a7188 100644
--- a/lib/Target/CppBackend/CPPBackend.cpp
+++ b/lib/Target/CppBackend/CPPBackend.cpp
@@ -1705,7 +1705,7 @@ std::string CppWriter::generateInstruction(const Instruction *I) {
}
case Instruction::Call: {
const CallInst *CI = cast<CallInst>(I);
- text = handleCall(CI);
+ text = handleCall(CI) + ';';
break;
}
case Instruction::Select: {