Heal a now-bogus assertion under JS_LOCK_OBJ/JS_LOCK_SCOPE.

git-svn-id: svn://10.0.0.236/trunk@149217 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brendan%mozilla.org 2003-11-12 22:14:25 +00:00
parent 11b7f0a89a
commit e510eeea3f

View File

@ -117,7 +117,8 @@ typedef struct JSFatLockTable {
#define SET_SCOPE_INFO(scope_,file_,line_) \
((scope_)->ownercx ? (void)0 : \
(JS_ASSERT((scope_)->u.count > 0 && (scope_)->u.count <= 4), \
(JS_ASSERT((0 < (scope_)->u.count && (scope_)->u.count <= 4) || \
SCOPE_IS_SEALED(scope_)), \
(void)((scope_)->file[(scope_)->u.count-1] = (file_), \
(scope_)->line[(scope_)->u.count-1] = (line_))))
#endif /* DEBUG */