summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/ExecutionEngine/JIT/JIT.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.cpp b/llvm/lib/ExecutionEngine/JIT/JIT.cpp
index ab362a64ba1..d39741438aa 100644
--- a/llvm/lib/ExecutionEngine/JIT/JIT.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud