projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff863ba
)
Free machine code
author
Chris Lattner
<sabre@nondot.org>
Wed, 25 Dec 2002 05:06:21 +0000
(
05:06
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 25 Dec 2002 05:06:21 +0000
(
05:06
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5146
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86TargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86TargetMachine.cpp
b/lib/Target/X86/X86TargetMachine.cpp
index 18656af41383c766d2181100db7c6316ac3c7426..0fc56611f455e4493c7c319e0f9d123a306a1758 100644
(file)
--- a/
lib/Target/X86/X86TargetMachine.cpp
+++ b/
lib/Target/X86/X86TargetMachine.cpp
@@
-64,13
+64,11
@@
bool X86TargetMachine::addPassesToJITCompile(PassManager &PM) {
else
PM.add(createLocalRegisterAllocator(*this));
- // Print the instruction selected machine code...
- // PM.add(createMachineFunctionPrinterPass());
-
- // Print the register-allocated code
- if (PrintCode)
+ if (PrintCode) // Print the register-allocated code
PM.add(createX86CodePrinterPass(*this, std::cerr));
+ PM.add(createMachineCodeDestructionPass());
+
return false; // success!
}