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:
parent
feb0442901
commit
07af090121
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user