diff options
author | Andrew Trick <atrick@apple.com> | 2012-02-15 03:21:47 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-02-15 03:21:47 +0000 |
commit | 5e108eeeef34dd2afa00d1da77bca47188de4244 (patch) | |
tree | 7d563c9ce0de3bdfd6ff3a289d2aa601e9f54909 /include/llvm/Pass.h | |
parent | 5fd84a24e6bfccc31b6daff7b54b2b13fb2906f6 (diff) | |
download | external_llvm-5e108eeeef34dd2afa00d1da77bca47188de4244.zip external_llvm-5e108eeeef34dd2afa00d1da77bca47188de4244.tar.gz external_llvm-5e108eeeef34dd2afa00d1da77bca47188de4244.tar.bz2 |
Added TargetPassConfig::disablePass/substitutePass as a general mechanism to override specific passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150562 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Pass.h')
-rw-r--r-- | include/llvm/Pass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index a0cbca1..888537d 100644 --- a/include/llvm/Pass.h +++ b/include/llvm/Pass.h @@ -177,7 +177,7 @@ public: // createPass - Create a object for the specified pass class, // or null if it is not known. - static Pass *createPass(char &TI); + static Pass *createPass(AnalysisID ID); /// getAnalysisIfAvailable<AnalysisType>() - Subclasses use this function to /// get analysis information that might be around, for example to update it. |