diff options
author | Pedro Artigas <partigas@apple.com> | 2012-12-12 22:59:46 +0000 |
---|---|---|
committer | Pedro Artigas <partigas@apple.com> | 2012-12-12 22:59:46 +0000 |
commit | 7212ee4534066fa03d361763d5d7195c7a51c521 (patch) | |
tree | 68af377faa0f2e1f664086c10248fba3436629de /llvm/lib/CodeGen/AsmPrinter | |
parent | 1f7321677cebda7fd2bf0adf18afb910f098559f (diff) | |
download | bcm5719-llvm-7212ee4534066fa03d361763d5d7195c7a51c521.tar.gz bcm5719-llvm-7212ee4534066fa03d361763d5d7195c7a51c521.zip |
Make the MCStreamer have a reset method and call that after finalization of the asm printer,
also changed MCContext to a single reset only method for simplicity as requested on the list
llvm-svn: 170041
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 68ed280c551..475b82557dc 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -946,6 +946,8 @@ bool AsmPrinter::doFinalization(Module &M) { MMI = 0; OutStreamer.Finish(); + OutStreamer.reset(); + return false; } |