projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c01ff9c
)
Inline some code from the cpp file
author
Chris Lattner
<sabre@nondot.org>
Mon, 28 Oct 2002 23:53:32 +0000
(23:53 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetCacheInfo.h
b/include/llvm/Target/TargetCacheInfo.h
index 6514c8b6da886490da62bf016c358d4fb34e58f9..3969e8e4273d745caa62e5ef1cf8968bf4f27a3f 100644
(file)
--- 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