projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce8a149
)
- Renamed Type::isIntegral() to Type::isInteger()
author
Chris Lattner
<sabre@nondot.org>
Tue, 3 Sep 2002 01:07:35 +0000
(
01:07
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 3 Sep 2002 01:07:35 +0000
(
01:07
+0000)
- 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
lib/Transforms/Instrumentation/TraceValues.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Instrumentation/TraceValues.cpp
b/lib/Transforms/Instrumentation/TraceValues.cpp
index 714bf7637d7202aa5f054b5fbe84a7136ed165fb..4163dfef7f57727628481dbcae3f6bf0a302dfef 100644
(file)
--- 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...");