diff gen/structs.cpp @ 809:69a5e4a6fc0f

Changed some hardcoded offset/alignment for classes in DMD, broke offsets for 64bits. Changed ClassInfo generation to no longer access the default initializer of ClassInfo, fixes problems with index mismatch.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 30 Nov 2008 20:22:09 +0100
parents c62c6936635b
children 6c2ff06c4201
line wrap: on
line diff
--- a/gen/structs.cpp	Sun Nov 30 19:19:39 2008 +0100
+++ b/gen/structs.cpp	Sun Nov 30 20:22:09 2008 +0100
@@ -138,7 +138,7 @@
     qsort(&vars[0], nvars, sizeof(VarInitPair), &varinit_offset_cmp_func);
 
     // check integrity
-    // and do error checking, since the frontend does verify static struct initializers
+    // and do error checking, since the frontend does not verify static struct initializers
     size_t lastoffset = 0;
     size_t lastsize = 0;
     bool overlap = false;