mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
- 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
This commit is contained in:
parent
ce8a14915d
commit
65ad37205e
@ -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...");
|
||||
|
Loading…
Reference in New Issue
Block a user