Bug 581784 - Update this in the tracker (r=gal)
authorLuke Wagner <lw@mozilla.com>
Tue, 27 Jul 2010 14:32:39 -0700
changeset 34466 53d164e4a461f003df3041aafab9db2c3c342124
parent 34465 177e3561f58cd2d71087f64b8f3655c96f82e2a1
child 34467 02c4c024cf256a0bdf7cadfa035ee5cd8604d0a2
push id1485
push userlwagner@mozilla.com
push dateTue, 27 Jul 2010 21:34:53 +0000
reviewersgal
bugs581784
milestone1.9.2.9pre
Bug 581784 - Update this in the tracker (r=gal)
js/src/jstracer.cpp
--- a/js/src/jstracer.cpp
+++ b/js/src/jstracer.cpp
@@ -10348,16 +10348,17 @@ TraceRecorder::callNative(uintN argc, JS
 
                 this_ins = lir->ins_choose(lir->ins_peq0(stobj_get_parent(this_ins)),
                                            INS_CONSTOBJ(globalObj),
                                            this_ins);
             }
         }
         this_ins = box_jsval(vp[1], this_ins);
     }
+    set(&vp[1], this_ins);
     lir->insStorei(this_ins, invokevp_ins, 1 * sizeof(jsval));
 
     // Populate argv.
     for (uintN n = 2; n < 2 + argc; n++) {
         LIns* i = box_jsval(vp[n], get(&vp[n]));
         lir->insStorei(i, invokevp_ins, n * sizeof(jsval));
 
         // For a very long argument list we might run out of LIR space, so