[llvm-commits] CVS: reopt/lib/TraceJIT/TraceJIT.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Sun Jul 11 22:04:01 PDT 2004


Changes in directory reopt/lib/TraceJIT:

TraceJIT.cpp updated: 1.4 -> 1.5

---
Log message:

We don't need to check for JITMatchQuality=0 here, as Chris pointed out.


---
Diffs of the changes:  (+1 -6)

Index: reopt/lib/TraceJIT/TraceJIT.cpp
diff -u reopt/lib/TraceJIT/TraceJIT.cpp:1.4 reopt/lib/TraceJIT/TraceJIT.cpp:1.5
--- reopt/lib/TraceJIT/TraceJIT.cpp:1.4	Sun Jul 11 19:33:27 2004
+++ reopt/lib/TraceJIT/TraceJIT.cpp	Sun Jul 11 22:03:39 2004
@@ -248,13 +248,8 @@
   std::string Error;
   const TargetMachineRegistry::Entry *ent =
     TargetMachineRegistry::getClosestTargetForJIT(Error);
-  if (ent == 0) {
+  if (!ent)
     return 0; 
-  } else if (ent->JITMatchQualityFn() == 0) {
-    std::cerr << "WARNING: This target JIT is not designed for the host you are"
-              << " running.  If bad things happen, please choose a different "
-              << "-march switch.\n";
-  }
 
   // Allocate a target...
   TargetMachine *Target = ent->CtorFn(*MP->getModule(), IL);





More information about the llvm-commits mailing list