diff options
author | Bob Wilson <bob.wilson@apple.com> | 2012-07-02 19:48:37 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2012-07-02 19:48:37 +0000 |
commit | 3fb99a73686c39d9855b3f8881add977af3868cb (patch) | |
tree | 282e642ba759eb5098ac222ae5705b036fce8364 /include/llvm/CodeGen/MachineScheduler.h | |
parent | 564fbf6aff8fb95646a1290078a37c2d4dbe629f (diff) | |
download | external_llvm-3fb99a73686c39d9855b3f8881add977af3868cb.zip external_llvm-3fb99a73686c39d9855b3f8881add977af3868cb.tar.gz external_llvm-3fb99a73686c39d9855b3f8881add977af3868cb.tar.bz2 |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineScheduler.h b/include/llvm/CodeGen/MachineScheduler.h index e5d3a98..8da2045 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); // //===----------------------------------------------------------------------===// |