mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-19 19:31:50 +00:00
Free machine code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5146 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ff863ba610
commit
430cda7452
@ -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!
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user