[llvm] r192205 - Removing unintended code block from lli

Andrew Kaylor andrew.kaylor at intel.com
Tue Oct 8 10:15:11 PDT 2013


Author: akaylor
Date: Tue Oct  8 12:15:11 2013
New Revision: 192205

URL: http://llvm.org/viewvc/llvm-project?rev=192205&view=rev
Log:
Removing unintended code block from lli

Modified:
    llvm/trunk/tools/lli/lli.cpp

Modified: llvm/trunk/tools/lli/lli.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lli/lli.cpp?rev=192205&r1=192204&r2=192205&view=diff
==============================================================================
--- llvm/trunk/tools/lli/lli.cpp (original)
+++ llvm/trunk/tools/lli/lli.cpp Tue Oct  8 12:15:11 2013
@@ -489,15 +489,6 @@ int main(int argc, char **argv, char * c
     // Create the remote target.
     Target->create();
 
-// FIXME: Don't commit like this.  I don't think these calls are necessary.
-#if 0
-    // Trigger compilation.
-    EE->generateCodeForModule(Mod);
-
-    // Get everything ready to execute.
-    EE->finalizeModule(Mod);
-#endif
-
     // Since we're executing in a (at least simulated) remote address space,
     // we can't use the ExecutionEngine::runFunctionAsMain(). We have to
     // grab the function address directly here and tell the remote target





More information about the llvm-commits mailing list