another merge

This commit is contained in:
Moritz Warning
2011-02-27 20:11:13 +01:00
4 changed files with 11 additions and 2 deletions

View File

@@ -22,6 +22,7 @@
#include "gen/dvalue.h"
#include "gen/abi.h"
#include "gen/nested.h"
#include "gen/cl_options.h"
using namespace llvm::Attribute;
@@ -494,6 +495,9 @@ void DtoDeclareFunction(FuncDeclaration* fdecl)
// parameter attributes
if (!fdecl->isIntrinsic()) {
set_param_attrs(f, func, fdecl);
if (opts::disableRedZone) {
func->addFnAttr(NoRedZone);
}
}
// main