diff options
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 4 | ||||
-rw-r--r-- | lib/VMCore/Instruction.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index b72c17f667..c45a04f12b 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -84,7 +84,7 @@ static void PrintCallingConv(unsigned cc, raw_ostream &Out) default: Out << "cc" << cc; break; } } - + // PrintEscapedString - Print each character of the specified string, escaping // it if it is not printable or if it is an escape char. static void PrintEscapedString(StringRef Name, raw_ostream &Out) { @@ -878,7 +878,7 @@ static void WriteConstantInternal(raw_ostream &Out, const Constant *CV, Out << ']'; return; } - + if (const ConstantDataArray *CA = dyn_cast<ConstantDataArray>(CV)) { // As a special case, print the array as a string if it is an array of // i8 with ConstantInt values. diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp index 66379a0493..c0d1feeb9a 100644 --- a/lib/VMCore/Instruction.cpp +++ b/lib/VMCore/Instruction.cpp @@ -434,14 +434,14 @@ Instruction *Instruction::clone() const { New->SubclassOptionalData = SubclassOptionalData; if (!hasMetadata()) return New; - + // Otherwise, enumerate and copy over metadata from the old instruction to the // new one. SmallVector<std::pair<unsigned, MDNode*>, 4> TheMDs; getAllMetadataOtherThanDebugLoc(TheMDs); for (unsigned i = 0, e = TheMDs.size(); i != e; ++i) New->setMetadata(TheMDs[i].first, TheMDs[i].second); - + New->setDebugLoc(getDebugLoc()); return New; } |