Mercurial > projects > ldc
changeset 550:cbe08531430f
Removed unimplemented switches.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Tue, 26 Aug 2008 21:02:25 +0200 |
parents | d3baf2e52c4f |
children | d81f36377866 |
files | dmd/mars.c dmd/mars.h dmd/module.c |
diffstat | 3 files changed, 1 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/dmd/mars.c Tue Aug 26 20:50:42 2008 +0200 +++ b/dmd/mars.c Tue Aug 26 21:02:25 2008 +0200 @@ -213,7 +213,6 @@ -version=ident compile in version code identified by ident\n\ \n\ -noasm do not allow use of inline asm\n\ - -nofloat do not emit reference to floating point\n\ -noruntime do not allow code that generates implicit runtime calls\n\ -noverify do not run the validation pass before writing bitcode\n\ -unittest compile in unit tests\n\ @@ -222,8 +221,6 @@ -annotate annotate the bitcode with human readable source code\n\ -dis disassemble module after compiling\n\ -ignore ignore unsupported pragmas\n\ - -profile profile runtime performance of generated code\n\ - -cov do code coverage analysis\n\ \n\ Path options:\n\ -R<path> provide path to the directory containing the runtime library\n\ @@ -372,20 +369,12 @@ global.params.useDeprecated = 1; else if (strcmp(p + 1, "c") == 0) global.params.link = 0; - else if (strcmp(p + 1, "cov") == 0) - global.params.cov = 1; else if (strcmp(p + 1, "fPIC") == 0) global.params.pic = 1; else if (strcmp(p + 1, "g") == 0) global.params.symdebug = 1; else if (strcmp(p + 1, "gc") == 0) global.params.symdebug = 2; - else if (strcmp(p + 1, "gt") == 0) - { error("use -profile instead of -gt\n"); - global.params.trace = 1; - } - else if (strcmp(p + 1, "profile") == 0) - global.params.trace = 1; else if (strcmp(p + 1, "v") == 0) global.params.verbose = 1; else if (strcmp(p + 1, "vv") == 0) { @@ -538,8 +527,6 @@ global.params.useInline = 0; //1 global.params.llvmInline = 1; } - else if (strcmp(p + 1, "nofloat") == 0) - global.params.nofloat = 1; else if (strcmp(p + 1, "quiet") == 0) global.params.quiet = 1; else if (strcmp(p + 1, "release") == 0) @@ -734,8 +721,6 @@ fatal(); } } - if (global.params.cov) - VersionCondition::addPredefinedGlobalIdent("D_Coverage"); bool allowForceEndianness = false;
--- a/dmd/mars.h Tue Aug 26 20:50:42 2008 +0200 +++ b/dmd/mars.h Tue Aug 26 21:02:25 2008 +0200 @@ -58,7 +58,6 @@ { char obj; // write object file char link; // perform link - char trace; // insert profiling hooks char quiet; // suppress non-error messages char verbose; // verbose compile char symdebug; // insert debug symbolic information @@ -81,8 +80,6 @@ char preservePaths; // !=0 means don't strip path from source file char warnings; // enable warnings char pic; // generate position-independent-code for shared libs - char cov; // generate code coverage data - char nofloat; // code should not pull in floating point support char noruntime; // code is not allowed to make implicit calls to the runtime char novalidate;// no bitcode validation char Dversion; // D version number