| Index: Source/wtf/ListHashSet.h
|
| diff --git a/Source/wtf/ListHashSet.h b/Source/wtf/ListHashSet.h
|
| index e9e132af13b908b1a5542a7c7175bbd39160b4ae..52b2906becfdcfe3026b9ffbaab3ba5ee5f68678 100644
|
| --- a/Source/wtf/ListHashSet.h
|
| +++ b/Source/wtf/ListHashSet.h
|
| @@ -217,7 +217,7 @@ namespace WTF {
|
| : m_value(value)
|
| , m_prev(0)
|
| , m_next(0)
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| , m_isAllocated(true)
|
| #endif
|
| {
|
| @@ -228,7 +228,7 @@ namespace WTF {
|
| : m_value(value)
|
| , m_prev(0)
|
| , m_next(0)
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| , m_isAllocated(true)
|
| #endif
|
| {
|
| @@ -238,7 +238,7 @@ namespace WTF {
|
| ValueArg m_value;
|
| ListHashSetNodeBase* m_prev;
|
| ListHashSetNodeBase* m_next;
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| bool m_isAllocated;
|
| #endif
|
| };
|
| @@ -314,7 +314,7 @@ namespace WTF {
|
| void deallocate(Node* node)
|
| {
|
| if (inPool(node)) {
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| node->m_isAllocated = false;
|
| #endif
|
| node->m_next = m_freeList;
|
|
|