Mercurial > projects > ldc
diff dmd/mars.c @ 550:cbe08531430f
Removed unimplemented switches.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Tue, 26 Aug 2008 21:02:25 +0200 |
parents | 8d709660cd24 |
children | 68d7df3f9b05 aaba4f7c6d8a |
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;