Nuke the old JIT.
[oota-llvm.git] / lib / CodeGen / BasicTargetTransformInfo.cpp
index 24bc570f44a1fcb25010a4b126c486ce350aa292..43a6e0f26dcbf85feeb27fceda4b0d0d36ba4204 100644 (file)
@@ -188,9 +188,8 @@ unsigned BasicTTI::getJumpBufSize() const {
 
 bool BasicTTI::shouldBuildLookupTables() const {
   const TargetLoweringBase *TLI = getTLI();
-  return TLI->supportJumpTables() &&
-      (TLI->isOperationLegalOrCustom(ISD::BR_JT, MVT::Other) ||
-       TLI->isOperationLegalOrCustom(ISD::BRIND, MVT::Other));
+  return TLI->isOperationLegalOrCustom(ISD::BR_JT, MVT::Other) ||
+         TLI->isOperationLegalOrCustom(ISD::BRIND, MVT::Other);
 }
 
 bool BasicTTI::haveFastSqrt(Type *Ty) const {