[LLVMdev] Re: [llvm-commits] CAUTION: Type != Value
reid at x10sys.com
Sat Jul 10 11:41:02 PDT 2004
I thought Chris had already made that patch but apparently not. Anyway,
I've applied it. Thanks very much for noticing this and sorry for the
grief it caused you.
Patch is here:
On Sat, 2004-07-10 at 08:52, Vladimir Merzliakov wrote:
> > 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
> > converting:
> > Ty->setName(Name, &ST)
> > to:
> > 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: 189 bytes
Desc: This is a digitally signed message part
More information about the llvm-dev