[llvm-commits] [dragonegg] r165909 - /dragonegg/trunk/src/DefaultABI.cpp
Bill Wendling
isanbard at gmail.com
Sun Oct 14 11:11:43 PDT 2012
Author: void
Date: Sun Oct 14 13:11:43 2012
New Revision: 165909
URL: http://llvm.org/viewvc/llvm-project?rev=165909&view=rev
Log:
Try to fix the buildbots by using the correct methods.
Modified:
dragonegg/trunk/src/DefaultABI.cpp
Modified: dragonegg/trunk/src/DefaultABI.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/DefaultABI.cpp?rev=165909&r1=165908&r2=165909&view=diff
==============================================================================
--- dragonegg/trunk/src/DefaultABI.cpp (original)
+++ dragonegg/trunk/src/DefaultABI.cpp Sun Oct 14 13:11:43 2012
@@ -217,7 +217,7 @@
Attributes::Builder B;
B.addAttribute(Attributes::ByVal);
B.addAlignmentAttr(LLVM_BYVAL_ALIGNMENT(type));
- *Attributes |= Attributes::get(B);
+ *Attributes = Attributes::get(B.addAttributes(*Attributes));
}
} else {
C.HandleScalarArgument(Ty, type);
@@ -244,7 +244,7 @@
Attributes::Builder B;
B.addAttribute(Attributes::ByVal);
B.addAlignmentAttr(LLVM_BYVAL_ALIGNMENT(type));
- *Attributes |= Attributes::get(B);
+ *Attributes = Attributes::get(B.addAttributes(*Attributes));
}
}
} else if (LLVM_SHOULD_PASS_AGGREGATE_USING_BYVAL_ATTR(type, Ty)) {
@@ -253,7 +253,7 @@
Attributes::Builder B;
B.addAttribute(Attributes::ByVal);
B.addAlignmentAttr(LLVM_BYVAL_ALIGNMENT(type));
- *Attributes |= Attributes::get(B);
+ *Attributes |= Attributes::get(B.addAttributes(*Attributes));
}
} else if (LLVM_SHOULD_PASS_AGGREGATE_IN_INTEGER_REGS(type, &Size,
&DontCheckAlignment)) {
More information about the llvm-commits
mailing list