Properly initialize the pImpl member of PassRegistry to zero.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113264 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/llvm/PassRegistry.h b/include/llvm/PassRegistry.h
index 1fb11ed..809dba0 100644
--- a/include/llvm/PassRegistry.h
+++ b/include/llvm/PassRegistry.h
@@ -36,6 +36,8 @@
void *getImpl() const;
public:
+ PassRegistry() : pImpl(0) { }
+
/// getPassRegistry - Access the global registry object, which is
/// automatically initialized at application launch and destroyed by
/// llvm_shutdown.