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

Rui Ueyama ruiu at google.com
Mon Jun 15 10:58:11 PDT 2015


Hi pcc,

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.

http://reviews.llvm.org/D10451

Files:
  COFF/Symbols.cpp
  COFF/Symbols.h

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10451.27690.patch
Type: text/x-patch
Size: 5095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150615/983e8a67/attachment.bin>


More information about the llvm-commits mailing list