[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 5 14:54:39 PDT 2005
Changes in directory llvm/lib/Target/X86:
X86ISelPattern.cpp updated: 1.164 -> 1.165
---
Log message:
adjust to change in getSubtarget() api
---
Diffs of the changes: (+1 -1)
X86ISelPattern.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86ISelPattern.cpp
diff -u llvm/lib/Target/X86/X86ISelPattern.cpp:1.164 llvm/lib/Target/X86/X86ISelPattern.cpp:1.165
--- llvm/lib/Target/X86/X86ISelPattern.cpp:1.164 Wed Aug 3 18:26:28 2005
+++ llvm/lib/Target/X86/X86ISelPattern.cpp Fri Aug 5 16:54:27 2005
@@ -1092,7 +1092,7 @@
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 {
More information about the llvm-commits
mailing list