[llvm-commits] [llvm] r67023 - /llvm/trunk/lib/VMCore/AsmWriter.cpp
Nick Lewycky
nicholas at mxc.ca
Sat Mar 14 23:39:52 PDT 2009
Author: nicholas
Date: Sun Mar 15 01:39:52 2009
New Revision: 67023
URL: http://llvm.org/viewvc/llvm-project?rev=67023&view=rev
Log:
Remove obviously redundant call.
Modified:
llvm/trunk/lib/VMCore/AsmWriter.cpp
Modified: llvm/trunk/lib/VMCore/AsmWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/AsmWriter.cpp?rev=67023&r1=67022&r2=67023&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/AsmWriter.cpp (original)
+++ llvm/trunk/lib/VMCore/AsmWriter.cpp Sun Mar 15 01:39:52 2009
@@ -66,7 +66,7 @@
raw_ostream &Out) {
for (unsigned i = 0; i != Length; ++i) {
unsigned char C = Str[i];
- if (isprint(C) && C != '\\' && C != '"' && isprint(C))
+ if (isprint(C) && C != '\\' && C != '"')
Out << C;
else
Out << '\\' << hexdigit(C >> 4) << hexdigit(C & 0x0F);
More information about the llvm-commits
mailing list