ThreadData::~ThreadData() { JS_ASSERT(!repCache); rt->delete_<JSC::ExecutableAllocator>(execAlloc); rt->delete_<WTF::BumpPointerAllocator>(bumpAlloc); if (dtoaState) js_DestroyDtoaState(dtoaState); }
ThreadData::~ThreadData() { if (dtoaState) js_DestroyDtoaState(dtoaState); }