From 5e108eeeef34dd2afa00d1da77bca47188de4244 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Wed, 15 Feb 2012 03:21:47 +0000 Subject: 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 --- include/llvm/Pass.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/Pass.h') diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index a0cbca121d..888537daa4 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() - Subclasses use this function to /// get analysis information that might be around, for example to update it. -- cgit v1.2.3