[llvm-commits] [dragonegg] r102708 - /dragonegg/trunk/llvm-backend.cpp

Duncan Sands baldrick at free.fr
Fri Apr 30 05:05:55 PDT 2010


Author: baldrick
Date: Fri Apr 30 07:05:55 2010
New Revision: 102708

URL: http://llvm.org/viewvc/llvm-project?rev=102708&view=rev
Log:
Since --enable-sjlj-eh is not actually used for anything, and
--enable-eh is only used by the JIT, don't bother setting
either of these.

Modified:
    dragonegg/trunk/llvm-backend.cpp

Modified: dragonegg/trunk/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-backend.cpp?rev=102708&r1=102707&r2=102708&view=diff
==============================================================================
--- dragonegg/trunk/llvm-backend.cpp (original)
+++ dragonegg/trunk/llvm-backend.cpp Fri Apr 30 07:05:55 2010
@@ -390,12 +390,6 @@
     Args.push_back("--ffunction-sections");
   if (flag_data_sections)
     Args.push_back("--fdata-sections");
-  if (flag_exceptions) {
-    if (USING_SJLJ_EXCEPTIONS)
-      Args.push_back("--enable-sjlj-eh");
-    else
-      Args.push_back("--enable-eh");
-  }
 
   // If there are options that should be passed through to the LLVM backend
   // directly from the command line, do so now.  This is mainly for debugging





More information about the llvm-commits mailing list