Mercurial > projects > ldc
comparison dmd/mars.c @ 439:47b64d06eb9f
Enable array bounds check and emit them in IndexExp.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Wed, 30 Jul 2008 18:38:56 +0200 |
parents | ecf70fe065b9 |
children | cc40db549aea |
comparison
equal
deleted
inserted
replaced
438:3c133dd1eda3 | 439:47b64d06eb9f |
---|---|
268 global.params.link = 1; | 268 global.params.link = 1; |
269 global.params.useAssert = 0; | 269 global.params.useAssert = 0; |
270 global.params.useInvariants = 1; | 270 global.params.useInvariants = 1; |
271 global.params.useIn = 1; | 271 global.params.useIn = 1; |
272 global.params.useOut = 1; | 272 global.params.useOut = 1; |
273 global.params.useArrayBounds = 0; | 273 global.params.useArrayBounds = 1; |
274 global.params.useSwitchError = 1; | 274 global.params.useSwitchError = 1; |
275 global.params.useInline = 0; // this one messes things up to a point where codegen breaks | 275 global.params.useInline = 0; // this one messes things up to a point where codegen breaks |
276 global.params.llvmInline = 0; // use this one instead to know if inline passes should be run | 276 global.params.llvmInline = 0; // use this one instead to know if inline passes should be run |
277 global.params.obj = 1; | 277 global.params.obj = 1; |
278 global.params.Dversion = 2; | 278 global.params.Dversion = 2; |