This is an archive of the discontinued LLVM Phabricator instance.

Remove dead code.
ClosedPublic

Authored by ruiu on May 2 2014, 4:04 PM.

Details

Summary

isAlias always returns false and no one is using it. It was
originally added Atom to query if an atom is an alias for another
atom, assuming that alias atoms are different from normal atoms.

We now support atom aliasing, but the way that's implemented is
in a different way than what isAlias assumed. An alias atom is
just a regular defined atom with no content, and it has a layout-
before edge to alias-to atom so that they are layed out at the
same location in the result. So this is dead code, and it doesn't
make much sense to keep it.

Diff Detail

Event Timeline

ruiu updated this revision to Diff 9048.May 2 2014, 4:04 PM
ruiu retitled this revision from to Remove dead code..
ruiu updated this object.
ruiu edited the test plan for this revision. (Show Details)
ruiu added reviewers: Bigcheese, shankarke, atanasyan.
ruiu added a subscriber: Unknown Object (MLST).
atanasyan accepted this revision.May 3 2014, 5:28 AM
atanasyan edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 3 2014, 5:28 AM
ruiu closed this revision.May 19 2014, 7:23 AM
ruiu updated this revision to Diff 9552.

Closed by commit rL207989 (authored by @ruiu).