[llvm-commits] [llvm] r80265 - /llvm/trunk/lib/VMCore/Value.cpp

Duncan Sands baldrick at free.fr
Thu Aug 27 13:47:00 PDT 2009


Hi Dan,

> Teach getUnderlyingObject and skipPointerCasts about GlobalAliases.

it seems misleading to have skipPointerCasts do anything except
skip pointer casts.  Going from alias to aliasee isn't exactly
skipping a pointer cast, though for sure it's not very different.
Maybe the method should have a new name, or at least a comment?

Ciao,

Duncan.



More information about the llvm-commits mailing list