Mercurial > projects > ldc
diff gen/classes.cpp @ 1482:d9c5f5a43403
Run `semantic3` on imported modules, and emit new symbols with
`available_externally` linkage. This allows the inliner to inline functions from
other modules while telling the code generator to ignore those functions (treat
them as declarations)
Still generates a few extra `TypeInfo`s and strings...
Disabled when generating debug info because I don't really understand it, and it
doesn't like this.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 07 Jun 2009 16:00:13 +0200 |
parents | a5526b7a5ae6 |
children | 2292878925f4 |
line wrap: on
line diff
--- a/gen/classes.cpp Sun Jun 07 15:07:29 2009 +0200 +++ b/gen/classes.cpp Sun Jun 07 16:00:13 2009 +0200 @@ -491,7 +491,9 @@ { Logger::cout() << "src2: " << *src << '\n'; Logger::cout() << "index: " << field->index << '\n'; +#if 0 Logger::cout() << "srctype: " << *src->getType() << '\n'; +#endif } #endif LLValue* val = DtoGEPi(src, 0, field->index);