Commit f4b8ab11 authored by Rudi Chen's avatar Rudi Chen Committed by Kevin Modzelewski

Release assert for more debugging info.

parent 7863807f
......@@ -128,7 +128,7 @@ void _bytesAllocatedTripped() {
bool hasOrderedFinalizer(BoxedClass* cls) {
if (cls->has_safe_tp_dealloc) {
assert(!cls->tp_del);
ASSERT(!cls->tp_del, "class \"%s\" with safe tp_dealloc also has tp_del?", cls->tp_name);
return false;
} else if (cls->hasNonDefaultTpDealloc()) {
return true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment