On 2007-12-09, at 19:02, Chris Lattner wrote:
Thanks Pawel! I've applied your patch as rev 44747 here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071203/056105.html
Since there are some other methods to devirtualize deeper in the
class hierarchy, I wonder if it might make sense to write the
dispatch once instead of repeating it several times. Here are some
ideas off the top of my head…
Why not something like InstVisitor? Right now it only supports
instructions, but it could be extended.
Indeed it could. It's isomorphic to the last option minus the sugar of
dispatch<DestroyThis>(Value);.
— Gordon
_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits