[llvm-commits] Function aliases
Anton Korobeynikov
asl at math.spbu.ru
Thu Apr 19 23:20:20 PDT 2007
Hello, Reid.
> I don't understand why we need a subclass of Function for
> this? Can't we just derive an "Alias" class from a smart
> pointer to Value?
Because Aliases are either Function's or GlobalVariable's. They can be
called, used in the expressions, etc. The same way as all normal
external functions/global variables.
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
More information about the llvm-commits
mailing list