the 'isWeakForLinker' code is common between functions and globals, hoist it
authorChris Lattner <sabre@nondot.org>
Fri, 24 Jul 2009 04:52:38 +0000 (04:52 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 24 Jul 2009 04:52:38 +0000 (04:52 +0000)
commitab0c0ef5158e868befbd32612ab317a85789901d
tree594d24958c8eb9cfac8b19a3aaa361da7d6610e1
parent0f5ebf55091ac924756f84738e6140b0a1f4dcb1
the 'isWeakForLinker' code is common between functions and globals, hoist it
and simplify some other code.

llvm-svn: 76949
llvm/lib/Target/ELFTargetAsmInfo.cpp