aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PowerPCTargetMachine.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-15 00:03:15 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-15 00:03:15 +0000
commitc81efdc59cd2ce5410cefd7ab5cb52cfd7ac3aad (patch)
treedb2d8e0c8eaf7144ff25aa608d4cac1bc59eab40 /lib/Target/PowerPC/PowerPCTargetMachine.cpp
parentb663d76f866d03756dd563d246d9bdaabca4ca33 (diff)
Add back machine code deleter pass until we get a MachineCode pass
that will be responsible for the creation of MachineFunctions and will be required by all MachineFunctionPass passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PowerPCTargetMachine.cpp')
-rw-r--r--lib/Target/PowerPC/PowerPCTargetMachine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PowerPCTargetMachine.cpp b/lib/Target/PowerPC/PowerPCTargetMachine.cpp
index 54d0734fb9..88b33f098e 100644
--- a/lib/Target/PowerPC/PowerPCTargetMachine.cpp
+++ b/lib/Target/PowerPC/PowerPCTargetMachine.cpp
@@ -45,6 +45,7 @@ bool PowerPCTargetMachine::addPassesToEmitAssembly(PassManager &PM,
PM.add(createRegisterAllocator());
PM.add(createPrologEpilogCodeInserter());
// <insert assembly code output passes here>
+ PM.add(createMachineCodeDeleter());
return true; // change to `return false' when this actually works.
}