summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMBaseInstrInfo.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-13 22:38:52 +0000
committerEric Christopher <echristo@gmail.com>2014-06-13 22:38:52 +0000
commitf047bfd115b50e97c357785f9632ee79d89295bc (patch)
tree67b638acae7e971165b876a3f11ce209d5ed1566 /llvm/lib/Target/ARM/ARMBaseInstrInfo.h
parent170ebcf07fa1b97dcb63bfc3d8c3f04a61389494 (diff)
downloadbcm5719-llvm-f047bfd115b50e97c357785f9632ee79d89295bc.tar.gz
bcm5719-llvm-f047bfd115b50e97c357785f9632ee79d89295bc.zip
The hazard recognizer only needs a subtarget, not a target machine
so make it take one. Fix up all users accordingly. llvm-svn: 210948
Diffstat (limited to 'llvm/lib/Target/ARM/ARMBaseInstrInfo.h')
-rw-r--r--llvm/lib/Target/ARM/ARMBaseInstrInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseInstrInfo.h b/llvm/lib/Target/ARM/ARMBaseInstrInfo.h
index 891e3ee176a..b8d675806b2 100644
--- a/llvm/lib/Target/ARM/ARMBaseInstrInfo.h
+++ b/llvm/lib/Target/ARM/ARMBaseInstrInfo.h
@@ -50,7 +50,7 @@ public:
const ARMSubtarget &getSubtarget() const { return Subtarget; }
ScheduleHazardRecognizer *
- CreateTargetHazardRecognizer(const TargetMachine *TM,
+ CreateTargetHazardRecognizer(const TargetSubtargetInfo *STI,
const ScheduleDAG *DAG) const override;
ScheduleHazardRecognizer *
OpenPOWER on IntegriCloud