From: Chris Lattner Date: Tue, 3 Sep 2002 01:07:35 +0000 (+0000) Subject: - Renamed Type::isIntegral() to Type::isInteger() X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=65ad37205ef6958e07f57f85d1b5070ed1d93d1d;p=oota-llvm.git - Renamed Type::isIntegral() to Type::isInteger() - Added new method Type::isIntegral() that is the same as isInteger, but also accepts bool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3573 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Instrumentation/TraceValues.cpp b/lib/Transforms/Instrumentation/TraceValues.cpp index 714bf7637d7..4163dfef7f5 100644 --- a/lib/Transforms/Instrumentation/TraceValues.cpp +++ b/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...");