diff options
author | Chris Lattner <sabre@nondot.org> | 2002-09-03 01:07:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-09-03 01:07:35 +0000 |
commit | 65ad37205ef6958e07f57f85d1b5070ed1d93d1d (patch) | |
tree | b578100b22f4383256889d355ae394a1a649caff /lib/Transforms/Instrumentation/TraceValues.cpp | |
parent | ce8a14915d2971039b576e03a32e0ba7c421dba7 (diff) |
- 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
Diffstat (limited to 'lib/Transforms/Instrumentation/TraceValues.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/TraceValues.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/TraceValues.cpp b/lib/Transforms/Instrumentation/TraceValues.cpp index 714bf7637d..4163dfef7f 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<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..."); |