diff options
author | Duncan Sands <baldrick@free.fr> | 2009-01-12 20:38:59 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-01-12 20:38:59 +0000 |
commit | dc020f9c3c6ff10128bdf0693a0880c4bb7c019d (patch) | |
tree | 211bf6abe99446e0e9258e1580f542ba60230955 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 8e1555c7c3bf668fbda3fa9c13f0499332e1bf70 (diff) | |
download | bcm5719-llvm-dc020f9c3c6ff10128bdf0693a0880c4bb7c019d.tar.gz bcm5719-llvm-dc020f9c3c6ff10128bdf0693a0880c4bb7c019d.zip |
Rename getABITypeSize to getTypePaddedSize, as
suggested by Chris.
llvm-svn: 62099
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
-rw-r--r-- | llvm/lib/CodeGen/StackProtector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/StackProtector.cpp b/llvm/lib/CodeGen/StackProtector.cpp index 5a129c0d9d1..7c4d22df8bf 100644 --- a/llvm/lib/CodeGen/StackProtector.cpp +++ b/llvm/lib/CodeGen/StackProtector.cpp @@ -114,7 +114,7 @@ bool StackProtector::RequiresStackProtector() const { if (const ArrayType *AT = dyn_cast<ArrayType>(AI->getAllocatedType())) // If an array has more than SSPBufferSize bytes of allocated space, // then we emit stack protectors. - if (SSPBufferSize <= TD->getABITypeSize(AT)) + if (SSPBufferSize <= TD->getTypePaddedSize(AT)) return true; } } |