Mercurial > projects > ldc
diff gen/irstate.c @ 73:b706170e24a9 trunk
[svn r77] Fixed foreach on slice.
Fixed some nested function problems when accessing outer function parameters.
Major changes to handling of structs.
Initial support for unions.
Probably more...
author | lindquist |
---|---|
date | Wed, 31 Oct 2007 03:11:32 +0100 |
parents | 28e99b04a132 |
children | 3587401b6eeb |
line wrap: on
line diff
--- a/gen/irstate.c Mon Oct 29 03:28:12 2007 +0100 +++ b/gen/irstate.c Wed Oct 31 03:11:32 2007 +0100 @@ -15,7 +15,7 @@ #include "tollvm.h" IRState* gIR = 0; -llvm::TargetData* gTargetData = 0; +const llvm::TargetData* gTargetData = 0; ////////////////////////////////////////////////////////////////////////////////////////// IRScope::IRScope()