mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 08:33:14 +01:00
Move cl_options out of LDCShared
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
#include "gen/dvalue.h"
|
||||
#include "gen/abi.h"
|
||||
#include "gen/nested.h"
|
||||
#include "gen/cl_options.h"
|
||||
#include "gen/pragma.h"
|
||||
|
||||
using namespace llvm::Attribute;
|
||||
@@ -510,7 +509,7 @@ void DtoDeclareFunction(FuncDeclaration* fdecl)
|
||||
// parameter attributes
|
||||
if (!fdecl->isIntrinsic()) {
|
||||
set_param_attrs(f, func, fdecl);
|
||||
if (opts::disableRedZone) {
|
||||
if (global.params.disableRedZone) {
|
||||
func->addFnAttr(NoRedZone);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user