[llvm-commits] [llvm-gcc-4.2] r102744 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

Duncan Sands baldrick at free.fr
Fri Apr 30 12:38:52 PDT 2010


Author: baldrick
Date: Fri Apr 30 14:38:52 2010
New Revision: 102744

URL: http://llvm.org/viewvc/llvm-project?rev=102744&view=rev
Log:
Port commit 102706 (baldrick) from dragonegg:
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:
    llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=102744&r1=102743&r2=102744&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Fri Apr 30 14:38:52 2010
@@ -523,11 +523,6 @@
 /// performLateBackendInitialization - Set backend options that may only be
 /// known at codegen time.
 void performLateBackendInitialization(void) {
-  // The Ada front-end sets flag_exceptions only after processing the file.
-  if (USING_SJLJ_EXCEPTIONS)
-    SjLjExceptionHandling = flag_exceptions;
-  else
-    DwarfExceptionHandling = flag_exceptions;
   for (Module::iterator I = TheModule->begin(), E = TheModule->end();
        I != E; ++I)
     if (!I->isDeclaration()) {





More information about the llvm-commits mailing list