From d6dc4e6ce389e8290291805c694103e58a485be0 Mon Sep 17 00:00:00 2001 From: "mrbkap%gmail.com" Date: Tue, 17 Apr 2007 21:07:31 +0000 Subject: [PATCH] Add an assertion. bug 377090, r=brendan --- js/src/jsapi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/js/src/jsapi.c b/js/src/jsapi.c index 1c22cdbc7ef..24b9f510f35 100644 --- a/js/src/jsapi.c +++ b/js/src/jsapi.c @@ -4473,6 +4473,7 @@ JS_RestoreFrameChain(JSContext *cx, JSStackFrame *fp) if (!fp) return; + JS_ASSERT(cx->dormantFrameChain == fp); cx->fp = fp; cx->dormantFrameChain = fp->dormantNext; fp->dormantNext = NULL;