From 534124d0e35165b7cb38d5fffb5ea2ac4638252b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 28 Oct 2002 23:53:32 +0000 Subject: Inline some code from the cpp file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4363 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetCacheInfo.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/llvm/Target/TargetCacheInfo.h b/include/llvm/Target/TargetCacheInfo.h index 6514c8b6da..3969e8e427 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 -- cgit v1.2.3