[JAEGER] Band-aid for computed this.
authorDavid Anderson <dvander@alliedmods.net>
Tue, 06 Jul 2010 00:01:10 -0700
changeset 53082 39d35f51ea51e782dcd6edb3e2a70964c0670f94
parent 53081 0ea22d1ff97ec03d02ad34540f6552b8035f851d
child 53083 1e834702006195cd6f5cfbb7101f627a81f3a738
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.0b2pre
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
[JAEGER] Band-aid for computed this.
js/src/jsinterp.cpp
--- a/js/src/jsinterp.cpp
+++ b/js/src/jsinterp.cpp
@@ -277,17 +277,17 @@ ComputeGlobalThis(JSContext *cx, Value *
     argv[-1].setObject(*thisp);
     return true;
 }
 
 JSObject *
 JSStackFrame::computeThisObject(JSContext *cx)
 {
     JS_ASSERT(thisv.isPrimitive());
-    JS_ASSERT(fun);
+    //JS_ASSERT(fun);
 
     if (!ComputeThisFromArgv(cx, argv))
         return NULL;
     thisv = argv[-1];
     JS_ASSERT(IsSaneThisObject(thisv.toObject()));
     return &thisv.toObject();
 }