sink the 'name' and 'isdirective' state out of MCSection into its derived classes.
authorChris Lattner <sabre@nondot.org>
Sat, 8 Aug 2009 23:39:42 +0000 (23:39 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 8 Aug 2009 23:39:42 +0000 (23:39 +0000)
commit93b6db3de934a3cfca5586df25184fef4a54c500
tree3c32466a689b69726787f2b72bcdaf6a3879df50
parent8e9ece75db5045ec057efbbdba6550fa0d85e695
sink the 'name' and 'isdirective' state out of MCSection into its derived classes.
This totally optimizes PIC16 sections by not having an 'isdirective' bit anymore!! ;-)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78517 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/MC/MCContext.h
include/llvm/MC/MCSection.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/ELFWriter.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCSection.cpp
lib/Target/PIC16/PIC16AsmPrinter.cpp
lib/Target/PIC16/PIC16Section.h
lib/Target/PIC16/PIC16TargetObjectFile.cpp
lib/Target/PIC16/PIC16TargetObjectFile.h
test/MC/AsmParser/labels.s
tools/llvm-mc/AsmParser.cpp
tools/llvm-mc/llvm-mc.cpp