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 | bc6bdc2992c404b5dc268718368d9298f67b2948 (patch) | |
tree | a25abbc8df4bb3f85481061bbbe31a22eb9c4ecd /llvm/lib | |
parent | 2d42bbf5d0b0b4f546bd9f289a08dac43d739642 (diff) | |
download | bcm5719-llvm-bc6bdc2992c404b5dc268718368d9298f67b2948.tar.gz bcm5719-llvm-bc6bdc2992c404b5dc268718368d9298f67b2948.zip |
- Renamed Type::isIntegral() to Type::isInteger()
- Added new method Type::isIntegral() that is the same as isInteger, but
also accepts bool.
llvm-svn: 3573
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..."); |