mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
Remove the TargetMachine forwards for TargetSubtargetInfo based
information and update all callers. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214781 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -21,7 +21,7 @@
|
||||
#include "llvm/CodeGen/StackMapLivenessAnalysis.h"
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
|
||||
#include "llvm/Target/TargetSubtargetInfo.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
@ -67,7 +67,7 @@ bool StackMapLiveness::runOnMachineFunction(MachineFunction &_MF) {
|
||||
DEBUG(dbgs() << "********** COMPUTING STACKMAP LIVENESS: "
|
||||
<< _MF.getName() << " **********\n");
|
||||
MF = &_MF;
|
||||
TRI = MF->getTarget().getRegisterInfo();
|
||||
TRI = MF->getTarget().getSubtargetImpl()->getRegisterInfo();
|
||||
++NumStackMapFuncVisited;
|
||||
|
||||
// Skip this function if there are no patchpoints to process.
|
||||
|
Reference in New Issue
Block a user