Remove bogus assert (489040, r=brendan).
authorAndreas Gal <gal@mozilla.com>
Mon, 20 Apr 2009 09:52:56 -0700
changeset 27547 d4430f430fcdf8679801c016a4b5591dbf9ea120
parent 27546 7523cef763511b868922545ecaa2964477a46fee
child 27548 241ae5d59f0867b2a13d17e1244f8e09c501b7f9
push id6604
push userrsayre@mozilla.com
push dateMon, 20 Apr 2009 18:44:02 +0000
treeherdermozilla-central@83068fe4a1ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbrendan
bugs489040
milestone1.9.2a1pre
Remove bogus assert (489040, r=brendan).
js/src/jstracer.cpp
--- a/js/src/jstracer.cpp
+++ b/js/src/jstracer.cpp
@@ -6318,17 +6318,16 @@ TraceRecorder::getThis(LIns*& this_ins)
     /*
      * In global code, bake in the global object as 'this' object.
      */
     if (!cx->fp->callee) {
         JS_ASSERT(callDepth == 0);
         JSObject* thisObj = js_ComputeThisForFrame(cx, cx->fp);
         if (!thisObj)
             ABORT_TRACE("js_ComputeThis failed");
-        JS_ASSERT(JSVAL_IS_OBJECT(cx->fp->argv[-1]));
         this_ins = INS_CONSTPTR(thisObj);
 
         /*
          * We don't have argv[-1] in global code, so we don't update the tracker here.
          */
         return true;
     }