Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1367:8026319762be | 1368:1fbdfec6ea0d |
---|---|
634 } | 634 } |
635 flags |= 2; // no pointers | 635 flags |= 2; // no pointers |
636 L2: | 636 L2: |
637 if (hasOffTi) | 637 if (hasOffTi) |
638 flags |= 4; | 638 flags |= 4; |
639 | |
640 // always define the typeinfo field. | |
641 // why would ever not do this? | |
642 flags |= 32; | |
643 | |
639 return flags; | 644 return flags; |
640 } | 645 } |
641 | 646 |
642 LLConstant* DtoDefineClassInfo(ClassDeclaration* cd) | 647 LLConstant* DtoDefineClassInfo(ClassDeclaration* cd) |
643 { | 648 { |