Fixed ClassReferenceExp codegen, handle self-referential literals.

This commit is contained in:
David Nadlinger
2013-06-15 15:04:48 +02:00
parent 041e8e8b54
commit bca5dac669
3 changed files with 151 additions and 11 deletions
+2
View File
@@ -4369,6 +4369,8 @@ StructLiteralExp::StructLiteralExp(Loc loc, StructDeclaration *sd, Expressions *
this->ctorinit = 0;
#if IN_LLVM
constType = NULL;
this->inProgressMemory = NULL;
this->globalVar = NULL;
#endif
this->origin = this;
this->stageflags = 0;