[llvm-commits] [PATCH] Make Inits FoldingSetNodes
    David A. Greene 
    greened at obbligato.org
       
    Mon Jul 18 08:52:29 PDT 2011
    
    
  
Jakob Stoklund Olesen <stoklund at 2pi.dk> writes:
> The attached patch makes most RecTy subclasses into singletons with a get() factory method.
>
> It also uniques DefInit instances because of the Record-> DefInit -> RecordRecTy -> DefInit chicken and egg problem.
>
> Please review!
Looks good to me.  Your DefInit interning is much better than mine due
to RecTys being unique.  :)
                               -Dave
    
    
More information about the llvm-commits
mailing list