Bug 581784 - Update this in the tracker (r=gal)
authorLuke Wagner <lw@mozilla.com>
Mon, 26 Jul 2010 20:55:15 -0700
changeset 48592 01fb7a9e1ae4f780e270c2a044cb22729319923a
parent 48591 7ff4f93bddaa2d19f603d0672c3fdbaec7f6157f
child 48593 89dc3a238da014ab0b4f926c5a7bf5544e43a7c7
push id14748
push userrsayre@mozilla.com
push dateSun, 01 Aug 2010 00:33:23 +0000
treeherdermozilla-central@f0df797bb2a9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgal
bugs581784
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
Bug 581784 - Update this in the tracker (r=gal)
js/src/jstracer.cpp
--- a/js/src/jstracer.cpp
+++ b/js/src/jstracer.cpp
@@ -11378,16 +11378,17 @@ TraceRecorder::callNative(uintN argc, JS
                 guardNotClass(this_ins, &js_WithClass, snapshot(MISMATCH_EXIT), ACC_READONLY);
 
                 this_ins = lir->insChoose(lir->insEqP_0(stobj_get_parent(this_ins)),
                                            INS_CONSTOBJ(globalObj),
                                            this_ins, avmplus::AvmCore::use_cmov());
             }
         }
     }
+    set(&vp[1], this_ins);
     box_value_into(vp[1], this_ins, invokevp_ins, 1 * sizeof(Value), ACC_OTHER);
 
     // Populate argv.
     for (uintN n = 2; n < 2 + argc; n++) {
         box_value_into(vp[n], get(&vp[n]), invokevp_ins, n * sizeof(Value), ACC_OTHER);
         // For a very long argument list we might run out of LIR space, so
         // check inside the loop.
         if (outOfMemory())