Done in http://llvm.org/viewvc/llvm-project?view=rev&revision=74486
Except for one. See below.


On Jun 29, 2009, at 3:41 PM, Chris Lattner wrote:
>>
>> +  llvm::DenseSet<uintptr_t>Members;
>
> Using void* would also allow use of SmallPtrSet<void*, 16> here,  
> which avoids going to the heap in the common case.  DenseSet always  
> goes to to heap.

I am now using DenseMap which presumably still goes to the heap.  
Please see its use and see if there is a stack based container
which does the same.

- Thanks, Fariborz

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to