[llvm-commits] [llvm] r113264 - /llvm/trunk/include/llvm/PassRegistry.h
Owen Anderson
resistor at mac.com
Tue Sep 7 13:13:48 PDT 2010
Author: resistor
Date: Tue Sep 7 15:13:48 2010
New Revision: 113264
URL: http://llvm.org/viewvc/llvm-project?rev=113264&view=rev
Log:
Properly initialize the pImpl member of PassRegistry to zero.
Modified:
llvm/trunk/include/llvm/PassRegistry.h
Modified: llvm/trunk/include/llvm/PassRegistry.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/PassRegistry.h?rev=113264&r1=113263&r2=113264&view=diff
==============================================================================
--- llvm/trunk/include/llvm/PassRegistry.h (original)
+++ llvm/trunk/include/llvm/PassRegistry.h Tue Sep 7 15:13:48 2010
@@ -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.
More information about the llvm-commits
mailing list