changeset 672:22b6947fd30c

Automated merge with http://hg.dsource.org/projects/llvmdc
author Christian Kamm <kamm incasoftware de>
date Wed, 08 Oct 2008 22:43:38 +0200
parents 4f004553de33 (current diff) 96e425004a68 (diff)
children 37a7688a7494
files
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gen/toir.cpp	Wed Oct 08 22:38:52 2008 +0200
+++ b/gen/toir.cpp	Wed Oct 08 22:43:38 2008 +0200
@@ -1512,6 +1512,7 @@
         }
         else {
             assert(ts->sym);
+            DtoForceConstInitDsymbol(ts->sym);
             DtoAggrCopy(mem,ts->sym->ir.irStruct->init);
         }
         return new DImValue(type, mem);