projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migrate another set of getSubtargetImpl away.
[oota-llvm.git]
/
lib
/
CodeGen
/
VirtRegMap.cpp
diff --git
a/lib/CodeGen/VirtRegMap.cpp
b/lib/CodeGen/VirtRegMap.cpp
index 7b41e21d7017ad739f0c4893d80e4a1e8debaf47..f5258c34041729e5aa3d25d5dbe56f5080e92aa2 100644
(file)
--- a/
lib/CodeGen/VirtRegMap.cpp
+++ b/
lib/CodeGen/VirtRegMap.cpp
@@
-206,8
+206,8
@@
void VirtRegRewriter::getAnalysisUsage(AnalysisUsage &AU) const {
bool VirtRegRewriter::runOnMachineFunction(MachineFunction &fn) {
MF = &fn;
TM = &MF->getTarget();
bool VirtRegRewriter::runOnMachineFunction(MachineFunction &fn) {
MF = &fn;
TM = &MF->getTarget();
- TRI =
TM->getSubtargetImpl()->
getRegisterInfo();
- TII =
TM->getSubtargetImpl()->
getInstrInfo();
+ TRI =
MF->getSubtarget().
getRegisterInfo();
+ TII =
MF->getSubtarget().
getInstrInfo();
MRI = &MF->getRegInfo();
Indexes = &getAnalysis<SlotIndexes>();
LIS = &getAnalysis<LiveIntervals>();
MRI = &MF->getRegInfo();
Indexes = &getAnalysis<SlotIndexes>();
LIS = &getAnalysis<LiveIntervals>();