Mercurial > projects > ldc
diff dmd/mars.c @ 151:d11848349f97 trunk
[svn r157] Fixed the nasty type==NULL bug :D
author | lindquist |
---|---|
date | Mon, 24 Mar 2008 20:48:40 +0100 |
parents | ddfdae91281a |
children | 5acec6b2eef8 |
line wrap: on
line diff
--- a/dmd/mars.c Mon Mar 24 20:05:44 2008 +0100 +++ b/dmd/mars.c Mon Mar 24 20:48:40 2008 +0100 @@ -990,6 +990,7 @@ if (global.errors) fatal(); +#if !IN_LLVM // Scan for functions to inline if (global.params.useInline) { @@ -1000,6 +1001,7 @@ */ if (!global.params.useArrayBounds && !global.params.useAssert) { +#endif // Do pass 3 semantic analysis on all imported modules, // since otherwise functions in them cannot be inlined for (i = 0; i < Module::amodules.dim; i++) @@ -1011,6 +1013,7 @@ } if (global.errors) fatal(); +#if !IN_LLVM } for (i = 0; i < modules.dim; i++) @@ -1023,6 +1026,7 @@ } if (global.errors) fatal(); +#endif // Generate output files for (i = 0; i < modules.dim; i++)