[llvm-commits] [poolalloc] r72397 - /poolalloc/trunk/lib/DSA/Local.cpp

Anton Korobeynikov anton at korobeynikov.info
Mon May 25 14:01:25 PDT 2009


Hello,

> +    } else if (isa<GlobalAlias>(C)) {
> +      // XXX: Need more investigation
> +      NH = getValueDest(*(dynamic_cast<GlobalAlias*>(C)->getAliasee()));
I think you want to use cast<> here (see
http://llvm.org/docs/ProgrammersManual.html#isa)

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-commits mailing list