diff options
| author | Bill Wendling <isanbard@gmail.com> | 2012-10-14 07:35:59 +0000 | 
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2012-10-14 07:35:59 +0000 | 
| commit | 722b26c0f2302bf64207e9f366b8af61e50bbdc9 (patch) | |
| tree | fedb0e631a962eea4a45d46d77426da2c834591f /llvm/lib/VMCore/Instructions.cpp | |
| parent | 5c407ed3abe87ed91d7c4a019df15c79084ac845 (diff) | |
| download | bcm5719-llvm-722b26c0f2302bf64207e9f366b8af61e50bbdc9.tar.gz bcm5719-llvm-722b26c0f2302bf64207e9f366b8af61e50bbdc9.zip | |
Remove the bitwise assignment OR operator from the Attributes class. Replace it with the equivalent from the builder class.
llvm-svn: 165895
Diffstat (limited to 'llvm/lib/VMCore/Instructions.cpp')
| -rw-r--r-- | llvm/lib/VMCore/Instructions.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp index 15bc3ae1bc2..e807edc5126 100644 --- a/llvm/lib/VMCore/Instructions.cpp +++ b/llvm/lib/VMCore/Instructions.cpp @@ -332,7 +332,7 @@ CallInst::CallInst(const CallInst &CI)  void CallInst::addAttribute(unsigned i, Attributes attr) {    AttrListPtr PAL = getAttributes(); -  PAL = PAL.addAttr(i, attr); +  PAL = PAL.addAttr(getContext(), i, attr);    setAttributes(PAL);  } @@ -588,7 +588,7 @@ bool InvokeInst::paramHasAttr(unsigned i, Attributes::AttrVal A) const {  void InvokeInst::addAttribute(unsigned i, Attributes attr) {    AttrListPtr PAL = getAttributes(); -  PAL = PAL.addAttr(i, attr); +  PAL = PAL.addAttr(getContext(), i, attr);    setAttributes(PAL);  } | 

