summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-02-15 16:12:20 +0000
committerDuncan Sands <baldrick@free.fr>2010-02-15 16:12:20 +0000
commit9dff9bec316a5027e3fd7ae292a74f278f0fe95d (patch)
treeb0d7ba54e1a43072e5d05e5a6656f5d783c271ee /llvm/lib/CodeGen/StackProtector.cpp
parent37b3c48ef7d962dcdd074105d35dabbcd934c39b (diff)
downloadbcm5719-llvm-9dff9bec316a5027e3fd7ae292a74f278f0fe95d.tar.gz
bcm5719-llvm-9dff9bec316a5027e3fd7ae292a74f278f0fe95d.zip
Uniformize the names of type predicates: rather than having isFloatTy and
isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris! llvm-svn: 96223
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
-rw-r--r--llvm/lib/CodeGen/StackProtector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/StackProtector.cpp b/llvm/lib/CodeGen/StackProtector.cpp
index 48bb5af4db3..8a6a727a1f9 100644
--- a/llvm/lib/CodeGen/StackProtector.cpp
+++ b/llvm/lib/CodeGen/StackProtector.cpp
@@ -113,7 +113,7 @@ bool StackProtector::RequiresStackProtector() const {
if (const ArrayType *AT = dyn_cast<ArrayType>(AI->getAllocatedType())) {
// We apparently only care about character arrays.
- if (!AT->getElementType()->isInteger(8))
+ if (!AT->getElementType()->isIntegerTy(8))
continue;
// If an array has more than SSPBufferSize bytes of allocated space,
OpenPOWER on IntegriCloud