[llvm-commits] [llvm] r46556 - in /llvm/trunk: include/llvm/CodeGen/PseudoSourceValue.h include/llvm/Value.h lib/CodeGen/PseudoSourceValue.cpp
Chris Lattner
clattner at apple.com
Thu Jan 31 15:19:45 PST 2008
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
More information about the llvm-commits
mailing list