s/PrintMethodPass/PrintFunctionPass
authorChris Lattner <sabre@nondot.org>
Mon, 8 Apr 2002 22:05:01 +0000 (22:05 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 8 Apr 2002 22:05:01 +0000 (22:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2182 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llc/llc.cpp
tools/opt/opt.cpp

index 819c80a27922a16f2e6bf35a938ab2da7dc28e2c..32a06dd291e9e8da3ecb9bc6924f259e369ed29f 100644 (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;
index 9b2a19a93216203e9b17c9cd9c47d9f3bfcdbcf9..ce60d9453e40174e8bd3c97d06ad3c4703efe1ea 100644 (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...