Mercurial > projects > ldc
comparison dmd/mars.c @ 327:781af50846b2 trunk
[svn r348] Switch on class invariants (except in release mode).
Generate correct member for classInvariant in classinfo struct.
author | ChristianK |
---|---|
date | Thu, 10 Jul 2008 22:00:27 +0200 |
parents | 0d52412d5b1a |
children | 04e1b4930975 |
comparison
equal
deleted
inserted
replaced
326:d7e42b5d8ccd | 327:781af50846b2 |
---|---|
258 | 258 |
259 // Set default values | 259 // Set default values |
260 global.params.argv0 = argv[0]; | 260 global.params.argv0 = argv[0]; |
261 global.params.link = 1; | 261 global.params.link = 1; |
262 global.params.useAssert = 0; | 262 global.params.useAssert = 0; |
263 global.params.useInvariants = 0; | 263 global.params.useInvariants = 1; |
264 global.params.useIn = 1; | 264 global.params.useIn = 1; |
265 global.params.useOut = 1; | 265 global.params.useOut = 1; |
266 global.params.useArrayBounds = 0; | 266 global.params.useArrayBounds = 0; |
267 global.params.useSwitchError = 0; | 267 global.params.useSwitchError = 0; |
268 global.params.useInline = 0; // this one messes things up to a point where codegen breaks | 268 global.params.useInline = 0; // this one messes things up to a point where codegen breaks |