Mercurial > projects > ldc
diff dmd/declaration.h @ 378:d8234836b40f
Get rid of runTimeHack and instead add proper argument info to the frontend
declatation.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 22 Jul 2008 19:24:40 +0200 |
parents | aaade6ded589 |
children | 44f08170f4ef |
line wrap: on
line diff
--- a/dmd/declaration.h Mon Jul 21 20:36:03 2008 +0200 +++ b/dmd/declaration.h Tue Jul 22 19:24:40 2008 +0200 @@ -626,8 +626,9 @@ const char *kind(); void toDocBuffer(OutBuffer *buf); - static FuncDeclaration *genCfunc(Type *treturn, char *name); - static FuncDeclaration *genCfunc(Type *treturn, Identifier *id); +// LLVMDC: give argument types to runtime functions + static FuncDeclaration *genCfunc(Arguments *args, Type *treturn, char *name); + static FuncDeclaration *genCfunc(Arguments *args, Type *treturn, Identifier *id); Symbol *toSymbol(); Symbol *toThunkSymbol(int offset); // thunk version @@ -637,7 +638,6 @@ FuncDeclaration *isFuncDeclaration() { return this; } // llvmdc stuff - bool runTimeHack; std::set<VarDeclaration*> nestedVars; // we keep our own table of label statements as LabelDsymbolS