diff options
author | Devang Patel <dpatel@apple.com> | 2008-03-03 21:46:28 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-03-03 21:46:28 +0000 |
commit | 41e2397b720bc5d917ef614a7a6c257e8a3c8e42 (patch) | |
tree | 134aebc1687b4475b4b29b5bffd7672aca752505 /lib/Transforms/IPO/DeadArgumentElimination.cpp | |
parent | 67909435402300f4ef9923cd24d53b44be17c97f (diff) | |
download | llvm-41e2397b720bc5d917ef614a7a6c257e8a3c8e42.tar.gz llvm-41e2397b720bc5d917ef614a7a6c257e8a3c8e42.tar.bz2 llvm-41e2397b720bc5d917ef614a7a6c257e8a3c8e42.tar.xz |
s/isReturnStruct()/hasStructRetAttr()/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/DeadArgumentElimination.cpp')
-rw-r--r-- | lib/Transforms/IPO/DeadArgumentElimination.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/DeadArgumentElimination.cpp b/lib/Transforms/IPO/DeadArgumentElimination.cpp index 2ee54510e6..088269d816 100644 --- a/lib/Transforms/IPO/DeadArgumentElimination.cpp +++ b/lib/Transforms/IPO/DeadArgumentElimination.cpp @@ -255,7 +255,7 @@ DAE::Liveness DAE::getArgumentLiveness(const Argument &A) { const Function *F = A.getParent(); // If this is the return value of a struct function, it's not really dead. - if (F->isStructReturn() && &*(F->arg_begin()) == &A) + if (F->hasStructRetAttr() && &*(F->arg_begin()) == &A) return Live; if (A.use_empty()) // First check, directly dead? |