This is an archive of the discontinued LLVM Phabricator instance.

[LLD] COFF: Simplify SymbolBody::compare(SymbolBody *Other).
ClosedPublic

Authored by ruiu on Jun 15 2015, 10:58 AM.

Details

Reviewers
pcc
Summary

We are currently handling all combinations of SymbolBody types directly.
This patch is to flip this and Other if Other->kind() < this->kind()
to reduce number of combinations. No functionality change intended.

Diff Detail

Event Timeline

ruiu updated this revision to Diff 27690.Jun 15 2015, 10:58 AM
ruiu retitled this revision from to [LLD] COFF: Simplify SymbolBody::compare(SymbolBody *Other)..
ruiu updated this object.
ruiu edited the test plan for this revision. (Show Details)
ruiu added a reviewer: pcc.
ruiu added a subscriber: Unknown Object (MLST).
pcc accepted this revision.Jun 15 2015, 12:04 PM
pcc edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jun 15 2015, 12:04 PM
Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in r239745.