we already know the sectionkind when invoking SelectSectionForGlobal,
authorChris Lattner <sabre@nondot.org>
Fri, 24 Jul 2009 18:42:53 +0000 (18:42 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 24 Jul 2009 18:42:53 +0000 (18:42 +0000)
commitf20f250b6f1b3d4c873c4f6fa368a6ab5ace39b7
treea38900ed14644ff5c0294eceda1ece6fed7fe2a0
parent7420ab2191432494c780dd659a3053096d6cfe53
we already know the sectionkind when invoking SelectSectionForGlobal,
pass it in instead of recomputing it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76990 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/DarwinTargetAsmInfo.h
include/llvm/Target/ELFTargetAsmInfo.h
include/llvm/Target/TargetAsmInfo.h
lib/Target/DarwinTargetAsmInfo.cpp
lib/Target/ELFTargetAsmInfo.cpp
lib/Target/PIC16/PIC16TargetAsmInfo.cpp
lib/Target/PIC16/PIC16TargetAsmInfo.h
lib/Target/TargetAsmInfo.cpp