From bc6bdc2992c404b5dc268718368d9298f67b2948 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 3 Sep 2002 01:07:35 +0000 Subject: [PATCH] - Renamed Type::isIntegral() to Type::isInteger() - Added new method Type::isIntegral() that is the same as isInteger, but also accepts bool. llvm-svn: 3573 --- llvm/lib/Transforms/Instrumentation/TraceValues.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Instrumentation/TraceValues.cpp b/llvm/lib/Transforms/Instrumentation/TraceValues.cpp index 714bf7637d72..4163dfef7f57 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(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...");