*** empty log message ***

llvm-svn: 3016
diff --git a/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp b/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
index 2d9b9a7..3506cb9 100644
--- a/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
+++ b/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
@@ -12,11 +12,13 @@
 
 using std::vector;
 
-struct EmitFunctionTable : public Pass {
-  const char *getPassName() const { return "EmitFunctionTablePass"; }
-
-  bool run(Module &M);
-};
+namespace {
+  struct EmitFunctionTable : public Pass {
+    bool run(Module &M);
+  };
+  
+  RegisterPass<EmitFunctionTable> X("emitfuncs", "Emit a Function Table");
+}
 
 // Create a new pass to add function table
 //
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
index 391bc5b..95cd5be 100644
--- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
+++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
@@ -37,8 +37,6 @@
 using std::vector;
 
 struct ProfilePaths : public FunctionPass {
-  const char *getPassName() const { return "ProfilePaths"; }
-
   bool runOnFunction(Function &F);
 
   // Before this pass, make sure that there is only one 
@@ -49,6 +47,8 @@
   }
 };
 
+static RegisterPass<ProfilePaths> X("paths", "Profile Paths");
+
 // createProfilePathsPass - Create a new pass to add path profiling
 //
 Pass *createProfilePathsPass() {