Mercurial > projects > ldc
comparison gen/llvmhelpers.cpp @ 1463:a5526b7a5ae6
D2:
Applied function type from D1 frontend that got removed in D2, it's critical for member function type to be correct.
Fixed a bunch of type discrepancies in druntime object.di vs. genobj.d .
Disabled (#if 0) some potentally very large type dumps for -vv .
Updated classinfo and typeinfo generation for D2, almost complete now.
Added finer grained checks for vtbl type mismatching, aids debugging.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Wed, 03 Jun 2009 02:28:48 +0200 |
parents | ed70675862c8 |
children | 8bf5fa175555 |
comparison
equal
deleted
inserted
replaced
1462:f0423003caa6 | 1463:a5526b7a5ae6 |
---|---|
846 { | 846 { |
847 if (Logger::enabled()) | 847 if (Logger::enabled()) |
848 { | 848 { |
849 Logger::println("setting initializer"); | 849 Logger::println("setting initializer"); |
850 Logger::cout() << "global: " << *gvar << '\n'; | 850 Logger::cout() << "global: " << *gvar << '\n'; |
851 #if 0 | |
851 Logger::cout() << "init: " << *initVal << '\n'; | 852 Logger::cout() << "init: " << *initVal << '\n'; |
853 #endif | |
852 } | 854 } |
853 | 855 |
854 gvar->setInitializer(initVal); | 856 gvar->setInitializer(initVal); |
855 | 857 |
856 // do debug info | 858 // do debug info |