[llvm-commits] CVS: reopt/include/reopt/TraceCache.h

Brian Gaeke gaeke at cs.uiuc.edu
Thu Jul 8 03:04:01 PDT 2004


Changes in directory reopt/include/reopt:

TraceCache.h updated: 1.18 -> 1.19

---
Log message:

isLimitSet is always dynamically true. So get rid of it.


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

Index: reopt/include/reopt/TraceCache.h
diff -u reopt/include/reopt/TraceCache.h:1.18 reopt/include/reopt/TraceCache.h:1.19
--- reopt/include/reopt/TraceCache.h:1.18	Thu Jul  8 02:14:15 2004
+++ reopt/include/reopt/TraceCache.h	Thu Jul  8 03:03:26 2004
@@ -33,8 +33,6 @@
   
   std::list<uint64_t> allocationOrder;
 
-  bool isLimitSet; //this must be set during initialization!!!
-  
   int limit, currSize;
 
   // common constructor code
@@ -51,7 +49,7 @@
   uint64_t getAddrLessThan(uint64_t brAddr);
   uint64_t getEndAddress(uint64_t addr);
  
-  bool hasMaxSize(){ return isLimitSet;}
+  bool hasMaxSize(){ return true; }
   bool hasTraceAddr(uint64_t n){ return (traces.find(n)!=traces.end()); }
 
   bool hasTraceAddr(uint64_t start, uint64_t end){





More information about the llvm-commits mailing list