Mercurial > projects > ldc
comparison dmd/template.c @ 1146:1860414bf3b7
* Moved ir/irsymbol.cpp/h into ir/irdsymbol.cpp/h.
* Added #if IN_DMD versioning around DMD backend specific code in the D1 frontend, D2 is currently broken.
* All part of a greater cleanup scheme.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Thu, 26 Mar 2009 20:45:53 +0100 |
parents | b30fe7e1dbb9 |
children | dbe4af57b240 |
comparison
equal
deleted
inserted
replaced
1145:40caa8207b3e | 1146:1860414bf3b7 |
---|---|
361 | 361 |
362 if (/*global.params.useArrayBounds &&*/ sc->module) | 362 if (/*global.params.useArrayBounds &&*/ sc->module) |
363 { | 363 { |
364 // Generate this function as it may be used | 364 // Generate this function as it may be used |
365 // when template is instantiated in other modules | 365 // when template is instantiated in other modules |
366 sc->module->toModuleArray(); | 366 |
367 // FIXME: LDC | |
368 //sc->module->toModuleArray(); | |
367 } | 369 } |
368 | 370 |
369 if (/*global.params.useAssert &&*/ sc->module) | 371 if (/*global.params.useAssert &&*/ sc->module) |
370 { | 372 { |
371 // Generate this function as it may be used | 373 // Generate this function as it may be used |
372 // when template is instantiated in other modules | 374 // when template is instantiated in other modules |
373 sc->module->toModuleAssert(); | 375 |
376 // FIXME: LDC | |
377 //sc->module->toModuleAssert(); | |
374 } | 378 } |
375 | 379 |
376 /* Remember Scope for later instantiations, but make | 380 /* Remember Scope for later instantiations, but make |
377 * a copy since attributes can change. | 381 * a copy since attributes can change. |
378 */ | 382 */ |