| 271 | | WI_ASSERT(0, "%p is not a valid instance: 0x%x (autoreleased at %@)", |
|---|
| 272 | | instance, |
|---|
| 273 | | WI_RUNTIME_BASE(instance)->magic, |
|---|
| 274 | | wi_hash_data_for_key(pool->locations, instance)); |
|---|
| | 271 | if(wi_pool_debug) { |
|---|
| | 272 | WI_ASSERT(0, "%p is not a valid instance: 0x%x (autoreleased at %@)", |
|---|
| | 273 | instance, |
|---|
| | 274 | WI_RUNTIME_BASE(instance)->magic, |
|---|
| | 275 | wi_hash_data_for_key(pool->locations, instance)); |
|---|
| | 276 | } else { |
|---|
| | 277 | WI_ASSERT(0, "%p is not a valid instance: 0x%x", |
|---|
| | 278 | instance, |
|---|
| | 279 | WI_RUNTIME_BASE(instance)->magic); |
|---|
| | 280 | } |
|---|