diff --git a/lib/ExecutionEngine/JIT/JIT.cpp b/lib/ExecutionEngine/JIT/JIT.cpp index ab362a64ba1..d39741438aa 100644 --- a/lib/ExecutionEngine/JIT/JIT.cpp +++ b/lib/ExecutionEngine/JIT/JIT.cpp @@ -175,10 +175,6 @@ void *JIT::recompileAndRelinkFunction(Function *F) { // Delete the old function mapping. addGlobalMapping(F, 0); - // Destroy the machine code for this function. FIXME: this should be - // incorporated into the code generator! - MachineFunction::destruct(F); - // Recodegen the function runJITOnFunction(F);