mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-21 00:24:42 +00:00
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
This commit is contained in:
@@ -50,9 +50,7 @@ namespace {
|
|||||||
|
|
||||||
bool SparcV9TargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
|
bool SparcV9TargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
|
||||||
MachineCodeEmitter &MCE) {
|
MachineCodeEmitter &MCE) {
|
||||||
MachineCodeEmitter *M = &MCE;
|
PM.add(new SparcV9CodeEmitter(*this, MCE));
|
||||||
DEBUG(M = MachineCodeEmitter::createFilePrinterEmitter(MCE));
|
|
||||||
PM.add(new SparcV9CodeEmitter(*this, *M));
|
|
||||||
PM.add(createSparcV9MachineCodeDestructionPass()); //Free stuff no longer needed
|
PM.add(createSparcV9MachineCodeDestructionPass()); //Free stuff no longer needed
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user