Properly initialize the pImpl member of PassRegistry to zero.

llvm-svn: 113264
This commit is contained in:
Owen Anderson 2010-09-07 20:13:48 +00:00
parent 2bddd3442f
commit 29ed9459d0
1 changed files with 2 additions and 0 deletions

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.