diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-01-15 02:27:26 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-01-15 02:27:26 +0000 |
| commit | 42a75517250017a52afb03a0ade03cbd49559fe5 (patch) | |
| tree | ce6335dd133d9e2af752f558d4edd8f9d1fedefe /lib/CodeGen/AsmPrinter.cpp | |
| parent | b25c4ca9d8c838c2f18009221b11cd5170c47702 (diff) | |
rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger.
rename Type::getIntegralTypeMask to Type::getIntegerTypeMask.
This makes naming much more consistent. For example, there are now no longer any
instances of IntegerType that are not considered isInteger! :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter.cpp')
| -rw-r--r-- | lib/CodeGen/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 398a7b33d1..606c4b8ba5 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter.cpp @@ -455,7 +455,7 @@ void AsmPrinter::EmitConstantValueOnly(const Constant *CV) { // We can emit the pointer value into this slot if the slot is an // integer slot greater or equal to the size of the pointer. - if (Ty->isIntegral() && + if (Ty->isInteger() && TD->getTypeSize(Ty) >= TD->getTypeSize(Op->getType())) return EmitConstantValueOnly(Op); |
