diff options
author | Devang Patel <dpatel@apple.com> | 2008-09-25 21:00:45 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-09-25 21:00:45 +0000 |
commit | 4c758ea3e0d31e56773ef74ecac1775c641377e5 (patch) | |
tree | 0a109f93cf70b534d01a935be9d78ed558e127fe /llvm/lib/CodeGen/ShadowStackGC.cpp | |
parent | 87001fd6fd5194a26e00c18a77e65807ca49c1c0 (diff) | |
download | llvm-4c758ea3e0d31e56773ef74ecac1775c641377e5.zip llvm-4c758ea3e0d31e56773ef74ecac1775c641377e5.tar.gz llvm-4c758ea3e0d31e56773ef74ecac1775c641377e5.tar.bz2 |
Large mechanical patch.
s/ParamAttr/Attribute/g
s/PAList/AttrList/g
s/FnAttributeWithIndex/AttributeWithIndex/g
s/FnAttr/Attribute/g
This sets the stage
- to implement function notes as function attributes and
- to distinguish between function attributes and return value attributes.
This requires corresponding changes in llvm-gcc and clang.
llvm-svn: 56622
Diffstat (limited to 'llvm/lib/CodeGen/ShadowStackGC.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ShadowStackGC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ShadowStackGC.cpp b/llvm/lib/CodeGen/ShadowStackGC.cpp index cf0e6dd..0576228 100644 --- a/llvm/lib/CodeGen/ShadowStackGC.cpp +++ b/llvm/lib/CodeGen/ShadowStackGC.cpp @@ -162,7 +162,7 @@ namespace { Args.begin(), Args.end(), CI->getName(), CallBB); II->setCallingConv(CI->getCallingConv()); - II->setParamAttrs(CI->getParamAttrs()); + II->setAttributes(CI->getAttributes()); CI->replaceAllUsesWith(II); delete CI; } |