[llvm-commits] [dragonegg] r164375 - /dragonegg/trunk/src/DefaultABI.cpp
Bill Wendling
isanbard at gmail.com
Fri Sep 21 09:09:36 PDT 2012
Author: void
Date: Fri Sep 21 11:09:35 2012
New Revision: 164375
URL: http://llvm.org/viewvc/llvm-project?rev=164375&view=rev
Log:
Update for encapsulating the 'construct*AlignmentFromInt' 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=164375&r1=164374&r2=164375&view=diff
==============================================================================
--- dragonegg/trunk/src/DefaultABI.cpp (original)
+++ dragonegg/trunk/src/DefaultABI.cpp Fri Sep 21 11:09:35 2012
@@ -216,7 +216,7 @@
if (Attributes) {
*Attributes |= Attribute::ByVal;
*Attributes |=
- Attribute::constructAlignmentFromInt(LLVM_BYVAL_ALIGNMENT(type));
+ Attributes::constructAlignmentFromInt(LLVM_BYVAL_ALIGNMENT(type));
}
} else {
C.HandleScalarArgument(Ty, type);
@@ -242,7 +242,7 @@
if (Attributes) {
*Attributes |= Attribute::ByVal;
*Attributes |=
- Attribute::constructAlignmentFromInt(LLVM_BYVAL_ALIGNMENT(type));
+ Attributes::constructAlignmentFromInt(LLVM_BYVAL_ALIGNMENT(type));
}
}
} else if (LLVM_SHOULD_PASS_AGGREGATE_USING_BYVAL_ATTR(type, Ty)) {
@@ -250,7 +250,7 @@
if (Attributes) {
*Attributes |= Attribute::ByVal;
*Attributes |=
- Attribute::constructAlignmentFromInt(LLVM_BYVAL_ALIGNMENT(type));
+ Attributes::constructAlignmentFromInt(LLVM_BYVAL_ALIGNMENT(type));
}
} else if (LLVM_SHOULD_PASS_AGGREGATE_IN_INTEGER_REGS(type, &Size,
&DontCheckAlignment)) {
More information about the llvm-commits
mailing list