On Mar 2, 2008, at 10:06 PM, Zhongxing Xu wrote:
> In file GRBlockCounter.cpp:
>
> GRBlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) {
> F = new CountMap::Factory(Alloc);
> }
>
> GRBlockCounter::Factory::~Factory() {
> delete static_cast<CountMap*>(F);
> }
>
> Should the dtor cast F to CountMap::Factory?
>
Hi Zhongxing,
You are absolutely correct. This is a bug. Fixed!
Thanks so much.
Ted
_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev