Bug 497998 - Remove obsolete assertion. r=brendan a=beltzner
authorBlake Kaplan <mrbkap@gmail.com>
Fri, 12 Jun 2009 14:53:25 -0700
changeset 26062 f3031a3f5fc62f30b8bdef41767bd4f74ff253d6
parent 26061 bb79d3a42c012b8dfdaed04ee1696e6f5091c17d
child 26063 315a381a0bb58b91f0422106b1695a04314cf6b9
push id1769
push usermrbkap@mozilla.com
push dateTue, 14 Jul 2009 18:01:48 +0000
reviewersbrendan, beltzner
bugs497998
milestone1.9.1.1pre
Bug 497998 - Remove obsolete assertion. r=brendan a=beltzner
js/src/jsdbgapi.cpp
--- a/js/src/jsdbgapi.cpp
+++ b/js/src/jsdbgapi.cpp
@@ -1237,17 +1237,16 @@ JS_SetDestroyScriptHook(JSRuntime *rt, J
 /***************************************************************************/
 
 JS_PUBLIC_API(JSBool)
 JS_EvaluateUCInStackFrame(JSContext *cx, JSStackFrame *fp,
                           const jschar *chars, uintN length,
                           const char *filename, uintN lineno,
                           jsval *rval)
 {
-    JS_ASSERT(cx->fp);
     JS_ASSERT_NOT_ON_TRACE(cx);
 
     JSObject *scobj;
     JSScript *script;
     JSBool ok;
 
     scobj = JS_GetFrameScopeChain(cx, fp);
     if (!scobj)