From eb6c29bbfd9a8df6e8dba3ac28987d8b7385336f Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Tue, 27 Jul 2004 19:37:37 +0000 Subject: [PATCH] Get rid of the (apparently non-working) filePrinterEmitter which is added in debug mode. Its only effect seems to be the creation of an empty file... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15289 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/SparcV9/SparcV9CodeEmitter.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp index 271dcf1c6b4..3e5849c39b2 100644 --- a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp +++ b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp @@ -50,9 +50,7 @@ namespace { bool SparcV9TargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM, MachineCodeEmitter &MCE) { - MachineCodeEmitter *M = &MCE; - DEBUG(M = MachineCodeEmitter::createFilePrinterEmitter(MCE)); - PM.add(new SparcV9CodeEmitter(*this, *M)); + PM.add(new SparcV9CodeEmitter(*this, MCE)); PM.add(createSparcV9MachineCodeDestructionPass()); //Free stuff no longer needed return false; }