forked from OSchip/llvm-project
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... llvm-svn: 15289
This commit is contained in:
parent
2ffb787446
commit
c3259f6413
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue