A few fixes for 64bit

This commit is contained in:
Alexey Prokhin
2011-02-23 12:49:57 +03:00
parent aa5dfdfd4d
commit e921998d75
11 changed files with 45 additions and 25 deletions
+2
View File
@@ -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[]