From c88c11d607c5e3154dad679b11ad5326d1f0e8ac Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Tue, 7 Sep 2010 20:13:48 +0000 Subject: 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 --- include/llvm/PassRegistry.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/llvm/PassRegistry.h') diff --git a/include/llvm/PassRegistry.h b/include/llvm/PassRegistry.h index 1fb11ed64c..809dba0bc0 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. -- cgit v1.2.3