[llvm-commits] CVS: llvm/include/llvm/Target/MachineCacheInfo.h

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 28 17:54:01 PST 2002


Changes in directory llvm/include/llvm/Target:

MachineCacheInfo.h updated: 1.5 -> 1.6

---
Log message:

Inline some code from the cpp file


---
Diffs of the changes:

Index: llvm/include/llvm/Target/MachineCacheInfo.h
diff -u llvm/include/llvm/Target/MachineCacheInfo.h:1.5 llvm/include/llvm/Target/MachineCacheInfo.h:1.6
--- llvm/include/llvm/Target/MachineCacheInfo.h:1.5	Sun Feb  3 23:55:08 2002
+++ llvm/include/llvm/Target/MachineCacheInfo.h	Mon Oct 28 17:53:32 2002
@@ -1,4 +1,4 @@
-//===-- llvm/Target/MachineCacheInfo.h ---------------------------*- C++ -*-==//
+//===-- llvm/Target/MachineCacheInfo.h --------------------------*- C++ -*-===//
 //
 //  Describes properties of the target cache architecture.
 //
@@ -19,7 +19,9 @@
   std::vector<unsigned short> cacheAssoc;
   
 public:
-  MachineCacheInfo(const TargetMachine& tgt);
+  MachineCacheInfo(const TargetMachine& tgt) : target(tgt) {
+    Initialize();
+  }
   
   // Default parameters are:
   //    NumLevels    = 2





More information about the llvm-commits mailing list