Bug 890722: IonMonkey: The forgotten, always left out, ignored, neglected comment update, r=jandem
authorHannes Verschore <hv1989@gmail.com>
Wed, 23 Oct 2013 11:17:26 +0200
changeset 165657 645e0afbd37b6009ef63bb354416f620832a7e8a
parent 165656 f2a3498171e867d7f1ac237d29847482c3e60a29
child 165658 10e5f4a307a1e650565192e60e503f2750061dab
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs890722
milestone27.0a1
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 890722: IonMonkey: The forgotten, always left out, ignored, neglected comment update, r=jandem
js/src/jit/IonFrameIterator.h
--- a/js/src/jit/IonFrameIterator.h
+++ b/js/src/jit/IonFrameIterator.h
@@ -417,17 +417,17 @@ class InlineFrameIteratorMaybeGC
             // The overflown arguments are not available in current frame.
             // They are the last pushed arguments in the parent frame of this inlined frame.
             InlineFrameIteratorMaybeGC it(cx, this);
             ++it;
             unsigned argsObjAdj = it.script()->argumentsHasVarBinding() ? 1 : 0;
             SnapshotIterator parent_s(it.snapshotIterator());
 
             // Skip over all slots untill we get to the last slots (= arguments slots of callee)
-            // the +2 is for [this], [returnvalue], [scopechain], and maybe +1 for [argsObj]
+            // the +3 is for [this], [returnvalue], [scopechain], and maybe +1 for [argsObj]
             JS_ASSERT(parent_s.slots() >= nactual + 3 + argsObjAdj);
             unsigned skip = parent_s.slots() - nactual - 3 - argsObjAdj;
             for (unsigned j = 0; j < skip; j++)
                 parent_s.skip();
 
             // Get the overflown arguments
             parent_s.readFrameArgs(op, nullptr, nullptr, nullptr, nformal, nactual, end, it.script());
         } else {