commit | f8dc0617baceeba8ccd67c8881eb88eb1be2902c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Feb 03 06:49:24 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Feb 03 06:49:24 2008 +0000 |
tree | 6fd770020176095d656d85005b3a5508542fe962 | |
parent | 3d62d780abbe0c2dd8edd7dd37a27365b2032d73 [diff] |
Change the 'global modification' APIs in SelectionDAG to take a new DAGUpdateListener object pointer instead of just returning a vector of deleted nodes. This makes the interfaces more efficient (no more allocating a vector [at least a malloc], filling it in, then walking it) and more clean. This also allows the client to be notified of nodes that are *changed* but not deleted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46677 91177308-0d34-0410-b5e6-96231b3b80d8