mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-17 08:17:26 +02:00
A few fixes for 64bit
This commit is contained in:
@@ -977,6 +977,7 @@ void FuncDeclaration::semantic3(Scope *sc)
|
||||
#else
|
||||
Type *t;
|
||||
|
||||
#if !IN_LLVM
|
||||
if (global.params.is64bit)
|
||||
{ // Declare save area for varargs registers
|
||||
Type *t = new TypeIdentifier(loc, Id::va_argsave_t);
|
||||
@@ -991,6 +992,7 @@ void FuncDeclaration::semantic3(Scope *sc)
|
||||
v_argsave->parent = this;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (f->linkage == LINKd)
|
||||
{ // Declare _arguments[]
|
||||
|
||||
Reference in New Issue
Block a user