diff --git a/js/src/vm/TypedArrayObject.cpp b/js/src/vm/TypedArrayObject.cpp index 17305b8f1c36..f137b4a10d1d 100644 --- a/js/src/vm/TypedArrayObject.cpp +++ b/js/src/vm/TypedArrayObject.cpp @@ -704,9 +704,11 @@ ArrayBufferObject::obj_trace(JSTracer *trc, JSObject *obj) p = GetViewList(p)->bufferLink()) { if (p == obj) + { + JS_ASSERT(!found); found = true; + } } - JS_ASSERT(found); #endif } }