Give the 'eh.sjlj.dispatchsetup' intrinsic call the value coming from the setjmp
[oota-llvm.git] / lib / Target / ARM / ARMFastISel.cpp
index 3baf274b76b814cf55722b7e4e8c72f782b948c4..f5c4605e3eab20d42cb8104f15ca315d0dd656cf 100644 (file)
@@ -1839,9 +1839,9 @@ bool ARMFastISel::SelectCall(const Instruction *I) {
   // Can't handle inline asm or worry about intrinsics yet.
   if (isa<InlineAsm>(Callee) || isa<IntrinsicInst>(CI)) return false;
 
-  // Only handle global variable Callees that are direct calls.
+  // Only handle global variable Callees.
   const GlobalValue *GV = dyn_cast<GlobalValue>(Callee);
-  if (!GV || Subtarget->GVIsIndirectSymbol(GV, TM.getRelocationModel()))
+  if (!GV)
     return false;
 
   // Check the calling convention.