[llvm-commits] [dragonegg] r165916 - /dragonegg/trunk/src/DefaultABI.cpp
Bill Wendling
isanbard at gmail.com
Sun Oct 14 20:51:35 PDT 2012
Author: void
Date: Sun Oct 14 22:51:35 2012
New Revision: 165916
URL: http://llvm.org/viewvc/llvm-project?rev=165916&view=rev
Log:
Remove the wrong operator.
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=165916&r1=165915&r2=165916&view=diff
==============================================================================
--- dragonegg/trunk/src/DefaultABI.cpp (original)
+++ dragonegg/trunk/src/DefaultABI.cpp Sun Oct 14 22:51:35 2012
@@ -253,7 +253,7 @@
Attributes::Builder B;
B.addAttribute(Attributes::ByVal);
B.addAlignmentAttr(LLVM_BYVAL_ALIGNMENT(type));
- *Attributes |= Attributes::get(B.addAttributes(*Attributes));
+ *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