Mercurial > projects > ldc
diff dmd/mars.c @ 277:90a8c798b0db trunk
[svn r298] Eliminated the dmd/link.c source file entirely in favor of a llvm::sys based approach to the same functionality.
author | lindquist |
---|---|
date | Fri, 20 Jun 2008 22:09:04 +0200 |
parents | 21f85bac0b1a |
children | a137ed004205 |
line wrap: on
line diff
--- a/dmd/mars.c Fri Jun 20 17:45:13 2008 +0200 +++ b/dmd/mars.c Fri Jun 20 22:09:04 2008 +0200 @@ -43,6 +43,7 @@ #include "lexer.h" #include "gen/logger.h" +#include "gen/linker.h" void getenv_setargv(const char *envvar, int *pargc, char** *pargv); @@ -1110,7 +1111,7 @@ { if (!status) { - status = runProgram(); + status = runExectuable(); /* Delete .obj files and .exe file */ @@ -1119,7 +1120,7 @@ m = (Module *)modules.data[i]; m->deleteObjFile(); } - deleteExeFile(); + deleteExecutable(); } } }