[yaml2obj] Move redundant statements into a separate static function
authorXing GUO <higuoxing@gmail.com>
Tue, 4 Dec 2018 14:27:51 +0000 (14:27 +0000)
committerXing GUO <higuoxing@gmail.com>
Tue, 4 Dec 2018 14:27:51 +0000 (14:27 +0000)
commit98228351821bb2a8348fa349ecb2dabcd65d5b38
tree7838d2e46e5faaa357ac8fff438d45bdc8f0f198
parenta2eebb828e02be7ca8e0c1c53e1ad6548aa1049f
[yaml2obj] Move redundant statements into a separate static function

Reviewers: jhenderson, grimar

Reviewed By: jhenderson

Subscribers: jakehehrlich, llvm-commits

Differential Revision: https://reviews.llvm.org/D55220

llvm-svn: 348264
llvm/tools/yaml2obj/yaml2elf.cpp