Fixed compilation of ldc2

This commit is contained in:
Alexey Prokhin
2010-09-28 20:51:27 +04:00
parent 90d9d11def
commit 93ddf8112b
9 changed files with 101 additions and 31 deletions

View File

@@ -46,6 +46,12 @@
#include "ir/irvar.h"
#include "ir/irtype.h"
// TODO: hack for old d2 frontends
#if DMDV2
typedef Argument Parameter;
typedef Arguments Parameters;
#endif
/*******************************************
* Get a canonicalized form of the TypeInfo for use with the internal
* runtime library routines. Canonicalized in that static arrays are