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:
5ab8363
)
adjust to change in getSubtarget() api
author
Chris Lattner
<sabre@nondot.org>
Fri, 5 Aug 2005 21:54:27 +0000
(21:54 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 5 Aug 2005 21:54:27 +0000
(21:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22687
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelPattern.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelPattern.cpp
b/lib/Target/X86/X86ISelPattern.cpp
index 47e8179147911a3bc0a0d9b3b0c6b1f1574b1ba7..dd9918eab01e113841a75d88ed58b567843665ca 100644
(file)
--- a/
lib/Target/X86/X86ISelPattern.cpp
+++ b/
lib/Target/X86/X86ISelPattern.cpp
@@
-1092,7
+1092,7
@@
namespace {
const X86Subtarget *Subtarget;
public:
ISel(TargetMachine &TM) : SelectionDAGISel(X86Lowering), X86Lowering(TM) {
- Subtarget =
TM.getSubtarget<const
X86Subtarget>();
+ Subtarget =
&TM.getSubtarget<
X86Subtarget>();
}
virtual const char *getPassName() const {