Mercurial > projects > ldc
comparison gen/classes.cpp @ 1229:fafe7c8d6734
Now compiles again, and fixed type of the Interface[N] ClassInfo symbol.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Thu, 16 Apr 2009 11:01:49 +0200 |
parents | 79758fd2f48a |
children | 212ec2d9d176 |
comparison
equal
deleted
inserted
replaced
1228:79758fd2f48a | 1229:fafe7c8d6734 |
---|---|
58 // emit the vtblZ symbol | 58 // emit the vtblZ symbol |
59 LLGlobalVariable* vtblZ = irstruct->getVtblSymbol(); | 59 LLGlobalVariable* vtblZ = irstruct->getVtblSymbol(); |
60 | 60 |
61 // emit the interfaceInfosZ symbol if necessary | 61 // emit the interfaceInfosZ symbol if necessary |
62 if (cd->vtblInterfaces && cd->vtblInterfaces->dim > 0) | 62 if (cd->vtblInterfaces && cd->vtblInterfaces->dim > 0) |
63 getInterfaceArraySymbol(); // initializer is applied when it's built | 63 irstruct->getInterfaceArraySymbol(); // initializer is applied when it's built |
64 | 64 |
65 // perform definition | 65 // perform definition |
66 if (needs_def) | 66 if (needs_def) |
67 { | 67 { |
68 // set symbol initializers | 68 // set symbol initializers |