Mercurial > projects > ldc
comparison gen/toobj.cpp @ 763:9a9f403ab399
D2 changes!
Removed druntime from the repository again.. Sorry :/
Updated the druntime port a bit, now requires druntime from trunk.
Added info in runtime/README on how to get druntime from trunk.
Added patch to add LDC support to druntime.
Removed some debug logging from D2 builds.
Fixed broken typeinfo for const/invariant in D2.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 12 Nov 2008 07:22:05 +0100 |
parents | f04dde6e882c |
children | af04bbae8553 |
comparison
equal
deleted
inserted
replaced
762:d7aae6f09754 | 763:9a9f403ab399 |
---|---|
1001 else | 1001 else |
1002 gIR->constInitList.push_back(this); | 1002 gIR->constInitList.push_back(this); |
1003 } | 1003 } |
1004 else | 1004 else |
1005 { | 1005 { |
1006 #if DMDV2 | 1006 #if DMDV2 |
1007 #if 0 | |
1007 if (!ir.irField) | 1008 if (!ir.irField) |
1008 { | 1009 { |
1009 printf("dataseg: %d\n", isDataseg()); | 1010 printf("dataseg: %d\n", isDataseg()); |
1010 printf("parent: %s %s\n", parent->kind(), parent->toPrettyChars()); | 1011 printf("parent: %s %s\n", parent->kind(), parent->toPrettyChars()); |
1011 printf("this: %s %s\n", this->kind(), this->toPrettyChars()); | 1012 printf("this: %s %s\n", this->kind(), this->toPrettyChars()); |
1012 } | 1013 } |
1013 #endif | 1014 #endif |
1014 // assert(ir.irField != 0); | 1015 #else |
1016 assert(ir.irField != 0); | |
1017 #endif | |
1015 } | 1018 } |
1016 Logger::println("VarDeclaration::toObjFile is done"); | 1019 Logger::println("VarDeclaration::toObjFile is done"); |
1017 } | 1020 } |
1018 | 1021 |
1019 /* ================================================================== */ | 1022 /* ================================================================== */ |