This should not be needed anymore
authorChris Lattner <sabre@nondot.org>
Sat, 20 Dec 2003 10:19:18 +0000 (10:19 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 20 Dec 2003 10:19:18 +0000 (10:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10558 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/JIT/JIT.cpp

index ab362a64ba11d316d82cf1c00756a540761c8ccb..d39741438aab1ea7f44d53d27cb5115c12a2640c 100644 (file)
@@ -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);