aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/Passes.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-02-08 21:22:34 +0000
committerAndrew Trick <atrick@apple.com>2012-02-08 21:22:34 +0000
commitebe18ef5c286bb7c33f6c43f1963a7d22cd73f40 (patch)
tree12f4475c878f26c4df8b576e9bc411c10ee7d886 /include/llvm/CodeGen/Passes.h
parentd2a7bedbc9d3db35ff424a6a2d257c72341af224 (diff)
Added Pass::createPass(ID) to handle pass configuration by ID
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/Passes.h')
-rw-r--r--include/llvm/CodeGen/Passes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h
index 2585aebc1c..8849571731 100644
--- a/include/llvm/CodeGen/Passes.h
+++ b/include/llvm/CodeGen/Passes.h
@@ -135,7 +135,7 @@ protected:
///
/// Add a target-independent CodeGen pass at this point in the pipeline.
- void addCommonPass(char &ID);
+ void addPass(char &ID);
/// printNoVerify - Add a pass to dump the machine function, if debugging is
/// enabled.