[llvm-commits] [dragonegg] r168379 - /dragonegg/trunk/src/TypeConversion.cpp
Duncan Sands
baldrick at free.fr
Tue Nov 20 11:29:26 PST 2012
Author: baldrick
Date: Tue Nov 20 13:29:26 2012
New Revision: 168379
URL: http://llvm.org/viewvc/llvm-project?rev=168379&view=rev
Log:
Fix compilation after recent attributes change.
Modified:
dragonegg/trunk/src/TypeConversion.cpp
Modified: dragonegg/trunk/src/TypeConversion.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/TypeConversion.cpp?rev=168379&r1=168378&r2=168379&view=diff
==============================================================================
--- dragonegg/trunk/src/TypeConversion.cpp (original)
+++ dragonegg/trunk/src/TypeConversion.cpp Tue Nov 20 13:29:26 2012
@@ -730,7 +730,7 @@
PAttrBuilder)));
}
- PAL = AttrListPtr::get(Attrs);
+ PAL = AttrListPtr::get(Context, Attrs);
return FunctionType::get(RetTy, ArgTys, false);
}
@@ -916,7 +916,7 @@
FnAttrBuilder)));
// Finally, make the function type and result attributes.
- PAL = AttrListPtr::get(Attrs);
+ PAL = AttrListPtr::get(Context, Attrs);
return FunctionType::get(RetTy, ArgTypes, Args == 0);
}
More information about the llvm-commits
mailing list