From: Chris Lattner Date: Mon, 28 Oct 2002 23:53:32 +0000 (+0000) Subject: Inline some code from the cpp file X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=534124d0e35165b7cb38d5fffb5ea2ac4638252b;p=oota-llvm.git Inline some code from the cpp file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4363 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetCacheInfo.h b/include/llvm/Target/TargetCacheInfo.h index 6514c8b6da8..3969e8e4273 100644 --- a/include/llvm/Target/TargetCacheInfo.h +++ b/include/llvm/Target/TargetCacheInfo.h @@ -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 cacheAssoc; public: - MachineCacheInfo(const TargetMachine& tgt); + MachineCacheInfo(const TargetMachine& tgt) : target(tgt) { + Initialize(); + } // Default parameters are: // NumLevels = 2