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
This commit is contained in:
Owen Anderson 2010-09-07 20:13:48 +00:00
parent a4b06f7c55
commit c88c11d607

View File

@ -36,6 +36,8 @@ class PassRegistry {
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.