Inline some code from the cpp file
authorChris Lattner <sabre@nondot.org>
Mon, 28 Oct 2002 23:53:32 +0000 (23:53 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 28 Oct 2002 23:53:32 +0000 (23:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4363 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetCacheInfo.h

index 6514c8b6da886490da62bf016c358d4fb34e58f9..3969e8e4273d745caa62e5ef1cf8968bf4f27a3f 100644 (file)
@@ -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 @@ protected:
   std::vector<unsigned short> cacheAssoc;
   
 public:
-  MachineCacheInfo(const TargetMachine& tgt);
+  MachineCacheInfo(const TargetMachine& tgt) : target(tgt) {
+    Initialize();
+  }
   
   // Default parameters are:
   //    NumLevels    = 2