[PATCH] Remove pimpl class from PassRegistry.

Zachary Turner zturner at google.com
Wed Jun 11 17:07:43 PDT 2014


Hi dblaikie, rnk,

Remove pimpl class from PassRegistry.

Since removeRegistrationListener is no longer called during static destruction, we can get rid of the pimpl in PassRegistry.

This should clean up the code somewhat, increase clarity, and also allows us to put the Lock as a member of the class, instead of as a ManagedStatic.

http://reviews.llvm.org/D4107

Files:
  include/llvm/PassInfo.h
  include/llvm/PassRegistry.h
  include/llvm/PassSupport.h
  lib/IR/Pass.cpp
  lib/IR/PassRegistry.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4107.10339.patch
Type: text/x-patch
Size: 20670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140612/abefa5bb/attachment.bin>


More information about the llvm-commits mailing list