comparison gen/typinf.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 ad7f2f1862d6
comparison
equal deleted inserted replaced
1481:e0f03e11cdf8 1482:d9c5f5a43403
40 #include "gen/structs.h" 40 #include "gen/structs.h"
41 #include "gen/classes.h" 41 #include "gen/classes.h"
42 #include "gen/linkage.h" 42 #include "gen/linkage.h"
43 #include "gen/metadata.h" 43 #include "gen/metadata.h"
44 #include "gen/rttibuilder.h" 44 #include "gen/rttibuilder.h"
45 #include "gen/llvm-version.h"
45 46
46 #include "ir/irvar.h" 47 #include "ir/irvar.h"
47 #include "ir/irtype.h" 48 #include "ir/irtype.h"
48 49
49 /******************************************* 50 /*******************************************