Mercurial > projects > ldc
comparison ir/irvar.h @ 1309:0c03ba6f7c24
Fixed deal breaker bug for more-at-once compilation when any module contained aggregates. Fixes ticket #272 .
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Thu, 07 May 2009 02:10:29 +0200 |
parents | 212ec2d9d176 |
children |
comparison
equal
deleted
inserted
replaced
1308:316e9ecfeb7d | 1309:0c03ba6f7c24 |
---|---|
32 }; | 32 }; |
33 | 33 |
34 // represents an aggregate field variable | 34 // represents an aggregate field variable |
35 struct IrField : IrVar | 35 struct IrField : IrVar |
36 { | 36 { |
37 IrField(VarDeclaration* v, size_t idx, size_t offset = 0); | 37 IrField(VarDeclaration* v); |
38 | 38 |
39 unsigned index; | 39 unsigned index; |
40 unsigned unionOffset; | 40 unsigned unionOffset; |
41 | 41 |
42 llvm::Constant* getDefaultInit(); | 42 llvm::Constant* getDefaultInit(); |