[llvm-commits] [dragonegg] r165702 - in /dragonegg/trunk: include/x86/dragonegg/Target.h src/TypeConversion.cpp
Bill Wendling
isanbard at gmail.com
Wed Oct 10 22:51:12 PDT 2012
Author: void
Date: Thu Oct 11 00:51:12 2012
New Revision: 165702
URL: http://llvm.org/viewvc/llvm-project?rev=165702&view=rev
Log:
Use the correct Attributes namespace. Hopefully this fixes the buildbots.
Modified:
dragonegg/trunk/include/x86/dragonegg/Target.h
dragonegg/trunk/src/TypeConversion.cpp
Modified: dragonegg/trunk/include/x86/dragonegg/Target.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/include/x86/dragonegg/Target.h?rev=165702&r1=165701&r2=165702&view=diff
==============================================================================
--- dragonegg/trunk/include/x86/dragonegg/Target.h (original)
+++ dragonegg/trunk/include/x86/dragonegg/Target.h Thu Oct 11 00:51:12 2012
@@ -43,7 +43,7 @@
tree_node *type_attributes = TYPE_ATTRIBUTES (type); \
if (!TARGET_64BIT && (TARGET_SSEREGPARM || \
lookup_attribute("sseregparm", type_attributes)))\
- RAttributes |= Attribute::InReg; \
+ RAttributes |= Attributes(Attributes::InReg); \
}
/* LLVM specific stuff for converting gcc's `regparm` attribute to LLVM's
@@ -86,7 +86,7 @@
TYPE_PRECISION(Type)==64)) { \
local_fp_regparm -= 1; \
if (local_fp_regparm >= 0) \
- PAttribute |= Attribute::InReg; \
+ PAttribute |= Attributes(Attributes::InReg); \
else \
local_fp_regparm = 0; \
} else if (isa<INTEGRAL_TYPE>(Type) || \
Modified: dragonegg/trunk/src/TypeConversion.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/TypeConversion.cpp?rev=165702&r1=165701&r2=165702&view=diff
==============================================================================
--- dragonegg/trunk/src/TypeConversion.cpp (original)
+++ dragonegg/trunk/src/TypeConversion.cpp Thu Oct 11 00:51:12 2012
@@ -652,7 +652,7 @@
return Attributes::get(Attributes::Builder().addAttribute(Attributes::SExt));
}
- return Attribute();
+ return Attributes();
}
/// ConvertParamListToLLVMSignature - This method is used to build the argument
More information about the llvm-commits
mailing list