diff options
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/TraceValues.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/TraceValues.cpp b/llvm/lib/Transforms/Instrumentation/TraceValues.cpp index 714bf7637d7..4163dfef7f5 100644 --- a/llvm/lib/Transforms/Instrumentation/TraceValues.cpp +++ b/llvm/lib/Transforms/Instrumentation/TraceValues.cpp @@ -200,7 +200,7 @@ static string getPrintfCodeFor(const Value *V) { return "0x%p"; else if (isa<PointerType>(V->getType())) return DisablePtrHashing ? "0x%p" : "%d"; - else if (V->getType()->isIntegral() || V->getType() == Type::BoolTy) + else if (V->getType()->isIntegral()) return "%d"; assert(0 && "Illegal value to print out..."); |