Mercurial > projects > ddmd
diff dmd/Param.d @ 130:60bb0fe4563e
dmdfe 2.037 first main iteration
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Thu, 09 Sep 2010 22:51:44 +0100 |
parents | 010eb8f0e18d |
children | e3afd1303184 |
line wrap: on
line diff
--- a/dmd/Param.d Sun Sep 05 15:32:22 2010 +0400 +++ b/dmd/Param.d Thu Sep 09 22:51:44 2010 +0100 @@ -31,7 +31,10 @@ bool useInvariants; // generate class invariant checks bool useIn; // generate precondition checks bool useOut; // generate postcondition checks - bool useArrayBounds; // generate array bounds checks + byte useArrayBounds; // 0: no array bounds checks + // 1: array bounds checks for safe functions only + // 2: array bounds checks for all functions + bool noboundscheck; // no array bounds checking at all bool useSwitchError; // check for switches without a default bool useUnitTests; // generate unittest code bool useInline; // inline expand functions @@ -43,7 +46,6 @@ bool nofloat; // code should not pull in floating point support byte Dversion; // D version number bool ignoreUnsupportedPragmas; // rather than error on them - bool safe; // enforce safe memory model string argv0; // program name Array imppath; // array of char*'s of where to look for import modules