[LLVMdev] Re: [llvm-commits] CAUTION: Type != Value
wanderer at rsu.ru
Sat Jul 10 11:03:01 PDT 2004
> As you noted, the cast to Value* from (I presume) Type* is now invalid
> as there is no inheritance relationship. You can give a type a name by
> Ty->setName(Name, &ST)
> ST.insert(Name, Ty)
> Hope that helps.
This is resolve problem for me.
Is attached patch ok for llvm/lib/VMCore/Module.cpp ?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 345 bytes
Desc: not available
More information about the llvm-dev