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. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits