Remove bogus assert, follow-up for bug 604523. a=blocking beta 7
authorAndreas Gal <gal@mozilla.com>
Fri, 22 Oct 2010 17:21:18 -0700
changeset 56475 eaf6f9566f2eb59e647f03630a21a056b75899b8
parent 56474 139dcd10518f1d22fa9e9ea75d975ca85cf0e6d1
child 56476 8dd996c91f406f9e3b58686cfec681fb7f05bc6f
push id16567
push usermrbkap@mozilla.com
push dateMon, 25 Oct 2010 23:41:30 +0000
treeherdermozilla-central@eaf6f9566f2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblocking
bugs604523
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Remove bogus assert, follow-up for bug 604523. a=blocking beta 7
js/src/jstracer.cpp
--- a/js/src/jstracer.cpp
+++ b/js/src/jstracer.cpp
@@ -10205,21 +10205,16 @@ TraceRecorder::getThis(LIns*& this_ins)
      * Compute 'this' now. The result is globalObj->thisObject(), which is
      * trace-constant. getThisObject writes back to fp->thisValue(), so do
      * the same on trace.
      */
     if (!fp->computeThis(cx))
         RETURN_ERROR("computeThis failed");
 
     /* thisv is a reference, so it'll see the newly computed |this|. */
-#ifdef DEBUG
-    JS_ASSERT(thisv.isObject());
-    JSObject *thisObj = &thisv.toObject();
-    JS_ASSERT(thisObj->getClass()->ext.innerObject);
-#endif
     this_ins = INS_CONSTOBJ(globalObj);
     set(&thisv, this_ins);
     return RECORD_CONTINUE;
 }
 
 JS_REQUIRES_STACK void
 TraceRecorder::guardClassHelper(bool cond, LIns* obj_ins, Class* clasp, VMSideExit* exit,
                                 LoadQual loadQual)