[LLVMdev] [Patch] Fix for PR9499 (confusing behavior of FastFoldingSetNode).

Johannes Schaub (litb) schaub.johannes at googlemail.com
Sat Mar 19 12:10:57 PDT 2011


I've made a patch which provides one possible fix for the unintuitive 
behavior of FastFoldingSetNode. I'm not sure whether that's a good way to 
solve this. It's based largely on the documentation found in the 
FastFoldingSet.h file, which says Profile functions should use "Add" instead 
of simply setting their parameter. 

Patch is attached on this mail and on the PR. Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixes.patch
Type: text/x-patch
Size: 1452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110319/5b644ea0/attachment.bin>


More information about the llvm-dev mailing list