s/PrintMethodPass/PrintFunctionPass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2182 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-04-08 22:05:01 +00:00
parent 8bfa89c7f5
commit 02d6ef8976
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ int main(int argc, char **argv) {
// If LLVM dumping after transformations is requested, add it to the pipeline
if (DumpAsm)
Passes.add(new PrintMethodPass("Code after xformations: \n", &cerr));
Passes.add(new PrintFunctionPass("Code after xformations: \n", &cerr));
// Figure out where we are going to send the output...
std::ostream *Out = 0;

View File

@ -56,7 +56,7 @@ enum Opts {
};
static Pass *createPrintMethodPass() {
return new PrintMethodPass("Current Method: \n", &cerr);
return new PrintFunctionPass("Current Method: \n", &cerr);
}
// OptTable - Correlate enum Opts to Pass constructors...