1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

adjust to change in getSubtarget() api

llvm-svn: 22687
This commit is contained in:
Chris Lattner 2005-08-05 21:54:27 +00:00
parent feb0442901
commit 07af090121

View File

@ -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 {