diff options
Diffstat (limited to 'lib/Target/CppBackend/CPPBackend.cpp')
-rw-r--r-- | lib/Target/CppBackend/CPPBackend.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index 17ca23a453..394ea2bfea 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -1492,7 +1492,7 @@ void CppWriter::printInstruction(const Instruction *I, StringRef CrossThread = ConvertAtomicSynchScope(fi->getSynchScope()); Out << "FenceInst* " << iName << " = new FenceInst(mod->getContext(), " - << Ordering << ", " << CrossThread + << Ordering << ", " << CrossThread << ", " << bbname << ");"; break; } @@ -1503,7 +1503,7 @@ void CppWriter::printInstruction(const Instruction *I, Out << "AtomicCmpXchgInst* " << iName << " = new AtomicCmpXchgInst(" << opNames[0] << ", " << opNames[1] << ", " << opNames[2] << ", " - << Ordering << ", " << CrossThread + << Ordering << ", " << CrossThread << ", " << bbname << ");"; nl(Out) << iName << "->setName(\""; printEscapedString(cxi->getName()); @@ -1533,7 +1533,7 @@ void CppWriter::printInstruction(const Instruction *I, << " = new AtomicRMWInst(" << Operation << ", " << opNames[0] << ", " << opNames[1] << ", " - << Ordering << ", " << CrossThread + << Ordering << ", " << CrossThread << ", " << bbname << ");"; nl(Out) << iName << "->setName(\""; printEscapedString(rmwi->getName()); |