summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-13 20:55:24 +0000
committerChris Lattner <sabre@nondot.org>2010-03-13 20:55:24 +0000
commite468f88b26f55e3f42a4870c2756c0184e8a4eb4 (patch)
tree2a14c7162ae3fcea85714c861124208e0dea8d90 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent754d2dc041253009cc6be9aff028f9300740dbfc (diff)
downloadbcm5719-llvm-e468f88b26f55e3f42a4870c2756c0184e8a4eb4.tar.gz
bcm5719-llvm-e468f88b26f55e3f42a4870c2756c0184e8a4eb4.zip
rearrange MCContext ownership. Before LLVMTargetMachine created it
and passing off ownership to AsmPrinter. Now MachineModuleInfo creates it and owns it by value. This allows us to use MCSymbols more consistently throughout the rest of the code generator, and simplifies a bit of code. This also allows MachineFunction to keep an MCContext reference handy, and cleans up the TargetRegistry interfaces for AsmPrinters. llvm-svn: 98450
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud