Undo hackaround for bug 529837.
authorBrendan Eich <brendan@mozilla.org>
Tue, 24 Nov 2009 15:17:16 -0800
changeset 35222 6b433a097f167912f1a78bf7074e1cd4dbaeb7a6
parent 35221 6432560e430e1db22fe038e4450a4912221837f4
child 35223 6c577d1d9a6752a12318bd0d6f6be01885837077
push id10499
push userbrendan@mozilla.com
push dateTue, 24 Nov 2009 23:17:24 +0000
treeherdermozilla-central@6b433a097f16 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs529837
milestone1.9.3a1pre
Undo hackaround for bug 529837.
js/src/jsops.cpp
--- a/js/src/jsops.cpp
+++ b/js/src/jsops.cpp
@@ -3252,17 +3252,17 @@ BEGIN_CASE(JSOP_LAMBDA)
     LOAD_FUNCTION(0);
     obj = FUN_OBJECT(fun);
 
     /* do-while(0) so we can break instead of using a goto. */
     do {
         if (FUN_NULL_CLOSURE(fun)) {
             parent = fp->scopeChain;
 
-            if (0 && OBJ_GET_PARENT(cx, obj) == parent) {
+            if (OBJ_GET_PARENT(cx, obj) == parent) {
                 op = JSOp(regs.pc[JSOP_LAMBDA_LENGTH]);
 
                 /*
                  * Optimize ({method: function () { ... }, ...}) and
                  * this.method = function () { ... }; bytecode sequences.
                  */
                 if (op == JSOP_SETMETHOD) {
 #ifdef DEBUG