Disabling the joined method optimization from bug 524826 again (529837, talked about it with dbaron and sayrer).
authorBrendan Eich <brendan@mozilla.org>
Thu, 19 Nov 2009 09:21:54 -0800
changeset 35138 729a894a635bb7cdb86a95993c7d6e4f56a1d000
parent 35137 36731f924a1d034067400bff96edcbed2b46db85
child 35139 3b7b772a2f9815ccaa934d119099cfc8b62f1d05
push id10432
push userbrendan@mozilla.com
push dateThu, 19 Nov 2009 17:22:07 +0000
treeherdermozilla-central@729a894a635b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs524826, 529837
milestone1.9.3a1pre
Disabling the joined method optimization from bug 524826 again (529837, talked about it with dbaron and sayrer).
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 (OBJ_GET_PARENT(cx, obj) == parent) {
+            if (0 && 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