diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-28 23:53:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-28 23:53:32 +0000 |
commit | 534124d0e35165b7cb38d5fffb5ea2ac4638252b (patch) | |
tree | 82b40c6b493cd87a61686cec64343c1d24c51d7a /include | |
parent | c01ff9c1f945e1c3e40890e31f75a5d380a96fe9 (diff) | |
download | llvm-534124d0e35165b7cb38d5fffb5ea2ac4638252b.tar.gz llvm-534124d0e35165b7cb38d5fffb5ea2ac4638252b.tar.bz2 llvm-534124d0e35165b7cb38d5fffb5ea2ac4638252b.tar.xz |
Inline some code from the cpp file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4363 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetCacheInfo.h | 6 |
1 files changed, 4 insertions, 2 deletions
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<unsigned short> cacheAssoc; public: - MachineCacheInfo(const TargetMachine& tgt); + MachineCacheInfo(const TargetMachine& tgt) : target(tgt) { + Initialize(); + } // Default parameters are: // NumLevels = 2 |