From: Owen Anderson Date: Tue, 7 Sep 2010 20:13:48 +0000 (+0000) Subject: Properly initialize the pImpl member of PassRegistry to zero. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c88c11d607c5e3154dad679b11ad5326d1f0e8ac;p=oota-llvm.git 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 1fb11ed64c1..809dba0bc0d 100644 --- a/include/llvm/PassRegistry.h +++ b/include/llvm/PassRegistry.h @@ -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.