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/Transforms/IPO/LowerSetJmp.cpp | |
parent | 87001fd6fd5194a26e00c18a77e65807ca49c1c0 (diff) | |
download | bcm5719-llvm-4c758ea3e0d31e56773ef74ecac1775c641377e5.tar.gz bcm5719-llvm-4c758ea3e0d31e56773ef74ecac1775c641377e5.zip |
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/Transforms/IPO/LowerSetJmp.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/LowerSetJmp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/LowerSetJmp.cpp b/llvm/lib/Transforms/IPO/LowerSetJmp.cpp index d5997fb4b51..dfc040b8334 100644 --- a/llvm/lib/Transforms/IPO/LowerSetJmp.cpp +++ b/llvm/lib/Transforms/IPO/LowerSetJmp.cpp @@ -474,7 +474,7 @@ void LowerSetJmp::visitCallInst(CallInst& CI) InvokeInst::Create(CI.getCalledValue(), NewBB, PrelimBBMap[Func], Params.begin(), Params.end(), CI.getName(), Term); II->setCallingConv(CI.getCallingConv()); - II->setParamAttrs(CI.getParamAttrs()); + II->setAttributes(CI.getAttributes()); // Replace the old call inst with the invoke inst and remove the call. CI.replaceAllUsesWith(II); |