diff gen/classes.cpp @ 1368:1fbdfec6ea0d

Forgot to set the (ClassInfo.flags & 32) bit added in 1.045.
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Sat, 16 May 2009 22:24:49 +0200
parents 8026319762be
children f15a2d131ceb
line wrap: on
line diff
--- a/gen/classes.cpp	Sat May 16 22:21:31 2009 +0200
+++ b/gen/classes.cpp	Sat May 16 22:24:49 2009 +0200
@@ -636,6 +636,11 @@
 L2:
     if (hasOffTi)
         flags |= 4;
+
+    // always define the typeinfo field.
+    // why would ever not do this?
+    flags |= 32;
+
     return flags;
 }