projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the TargetMachine forwards for TargetSubtargetInfo based
[oota-llvm.git]
/
lib
/
CodeGen
/
StackMapLivenessAnalysis.cpp
diff --git
a/lib/CodeGen/StackMapLivenessAnalysis.cpp
b/lib/CodeGen/StackMapLivenessAnalysis.cpp
index 3ba502fff695f719d27afa4cb422391ada8b8ad6..00871c061d24c1a9fb3a04fbc628824292ef49fa 100644
(file)
--- a/
lib/CodeGen/StackMapLivenessAnalysis.cpp
+++ b/
lib/CodeGen/StackMapLivenessAnalysis.cpp
@@
-21,7
+21,7
@@
#include "llvm/CodeGen/StackMapLivenessAnalysis.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/CodeGen/StackMapLivenessAnalysis.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
-
+#include "llvm/Target/TargetSubtargetInfo.h"
using namespace llvm;
using namespace llvm;
@@
-67,7
+67,7
@@
bool StackMapLiveness::runOnMachineFunction(MachineFunction &_MF) {
DEBUG(dbgs() << "********** COMPUTING STACKMAP LIVENESS: "
<< _MF.getName() << " **********\n");
MF = &_MF;
DEBUG(dbgs() << "********** COMPUTING STACKMAP LIVENESS: "
<< _MF.getName() << " **********\n");
MF = &_MF;
- TRI = MF->getTarget().getRegisterInfo();
+ TRI = MF->getTarget().get
SubtargetImpl()->get
RegisterInfo();
++NumStackMapFuncVisited;
// Skip this function if there are no patchpoints to process.
++NumStackMapFuncVisited;
// Skip this function if there are no patchpoints to process.