Remove exception handling support from the old JIT.
[oota-llvm.git] / tools / lli / lli.cpp
index 297763fcfbd86a565fabd65543b33d8884b50345..1866403cf804ba50ae38cdda7d94495b010f8df3 100644 (file)
@@ -158,11 +158,6 @@ namespace {
                                 "Large code model"),
                      clEnumValEnd));
 
-  cl::opt<bool>
-  EnableJITExceptionHandling("jit-enable-eh",
-    cl::desc("Emit exception handling information"),
-    cl::init(false));
-
   cl::opt<bool>
   GenerateSoftFloatCalls("soft-float",
     cl::desc("Generate software floating point library calls"),
@@ -381,7 +376,6 @@ int main(int argc, char **argv, char * const *envp) {
 
   // Remote target execution doesn't handle EH or debug registration.
   if (!RemoteMCJIT) {
-    Options.JITExceptionHandling = EnableJITExceptionHandling;
     Options.JITEmitDebugInfo = EmitJitDebugInfo;
     Options.JITEmitDebugInfoToDisk = EmitJitDebugInfoToDisk;
   }