On Jan 31, 2008, at 11:44 AM, Evan Cheng wrote: > This is a static initializer, so it can't assume Type::Int8Ty has > been initialized at this point. > > Can you take a look? Thanks.
A good way to fix this is to replace direct use of the objects with simple accessors. This is how ConstantInt::getTrue() handle's the 'i1 1' singleton for example. -Chris _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits