Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
72:d7e764e62462 | 73:b706170e24a9 |
---|---|
13 | 13 |
14 #include "gen/irstate.h" | 14 #include "gen/irstate.h" |
15 #include "tollvm.h" | 15 #include "tollvm.h" |
16 | 16 |
17 IRState* gIR = 0; | 17 IRState* gIR = 0; |
18 llvm::TargetData* gTargetData = 0; | 18 const llvm::TargetData* gTargetData = 0; |
19 | 19 |
20 ////////////////////////////////////////////////////////////////////////////////////////// | 20 ////////////////////////////////////////////////////////////////////////////////////////// |
21 IRScope::IRScope() | 21 IRScope::IRScope() |
22 { | 22 { |
23 begin = end = NULL; | 23 begin = end = NULL; |