Chris Lattner 4b741eab69 Fix three bugs:
1. Calls to external global VARIABLES should not be treated as a call to an
    external function
 2. Efficiently deleting an element from a vector by using std::swap with
    the back, then pop_back is NOT a good way to keep the vector sorted.
 3. Our hope of having stuff get deleted by making them redundant just won't
    work.  In particular, if we have three calls in sequence that should be
    merged: A, B, C   first we unify B into A.  To be sure that they appeared
    identical (so B would be erased) we set B = A.  On the next step, we
    unified C into A and set C = A.  Unfortunately, this is no guarantee that
    C = B, so we would fail to delete the dead call.  Switch to a more
    explicit scheme.

llvm-svn: 17357
2004-10-30 05:41:23 +00:00
..
2004-10-30 05:41:23 +00:00
2004-10-28 05:36:48 +00:00
2004-09-01 22:55:40 +00:00
2004-09-15 16:59:47 +00:00
2004-09-01 22:55:40 +00:00
2004-07-15 02:31:46 +00:00
2004-10-16 18:21:33 +00:00