commit | 3fb99a73686c39d9855b3f8881add977af3868cb | [log] [tgz] |
---|---|---|
author | Bob Wilson <bob.wilson@apple.com> | Mon Jul 02 19:48:37 2012 +0000 |
committer | Bob Wilson <bob.wilson@apple.com> | Mon Jul 02 19:48:37 2012 +0000 |
tree | 282e642ba759eb5098ac222ae5705b036fce8364 | |
parent | 564fbf6aff8fb95646a1290078a37c2d4dbe629f [diff] [blame] |
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
diff --git a/lib/Target/Hexagon/HexagonTargetMachine.cpp b/lib/Target/Hexagon/HexagonTargetMachine.cpp index 8572654..a7b291f 100644 --- a/lib/Target/Hexagon/HexagonTargetMachine.cpp +++ b/lib/Target/Hexagon/HexagonTargetMachine.cpp
@@ -123,7 +123,7 @@ bool HexagonPassConfig::addPreSched2() { - addPass(IfConverterID); + addPass(&IfConverterID); return true; }