Dan Gohman 078794f61e [MC] Refactor emitELFSize to make usage more consistent. NFC.
Move the cast<MCSymbolELF> inside emitELFSize, so that: 
 - it's done in one place instead of at each call
 - it's more consistent with similar functions like EmitCOFFSafeSEH
 - ambiguity between cast<> and dyn_cast<> is avoided (which also
   eliminates an unnecessary dyn_cast call)

This also makes it easier to experiment with using ".size" directives on
non-ELF targets.

llvm-svn: 288437
2016-12-01 23:39:08 +00:00
..
2014-09-02 22:32:20 +00:00
2016-08-22 11:55:22 +00:00
2016-08-22 11:55:22 +00:00
2015-10-05 12:07:05 +00:00
2016-08-22 11:55:22 +00:00