summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineScheduler.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2012-07-02 19:48:37 +0000
committerBob Wilson <bob.wilson@apple.com>2012-07-02 19:48:37 +0000
commit3fb99a73686c39d9855b3f8881add977af3868cb (patch)
tree282e642ba759eb5098ac222ae5705b036fce8364 /include/llvm/CodeGen/MachineScheduler.h
parent564fbf6aff8fb95646a1290078a37c2d4dbe629f (diff)
downloadllvm-3fb99a73686c39d9855b3f8881add977af3868cb.tar.gz
llvm-3fb99a73686c39d9855b3f8881add977af3868cb.tar.bz2
llvm-3fb99a73686c39d9855b3f8881add977af3868cb.tar.xz
Consistently use AnalysisID types in TargetPassConfig.
This makes it possible to just use a zero value to represent "no pass", so the phony NoPassID global variable is no longer needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineScheduler.h')
-rw-r--r--include/llvm/CodeGen/MachineScheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineScheduler.h b/include/llvm/CodeGen/MachineScheduler.h
index e5d3a98e6c..8da2045ad0 100644
--- a/include/llvm/CodeGen/MachineScheduler.h
+++ b/include/llvm/CodeGen/MachineScheduler.h
@@ -19,7 +19,7 @@
// createCustomMachineSched);
//
// Inside <Target>PassConfig:
-// enablePass(MachineSchedulerID);
+// enablePass(&MachineSchedulerID);
// MachineSchedRegistry::setDefault(createCustomMachineSched);
//
//===----------------------------------------------------------------------===//