Add new jitstats to the list in trace-test.js, and add a comment to jitstats.tbl noting that the two lists must be synchronized.

This commit is contained in:
Jeff Walden 2009-01-12 16:37:09 -08:00
parent c0e7964c90
commit d1f00e6d29
2 changed files with 5 additions and 1 deletions

View File

@ -35,6 +35,8 @@
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* NB: Keep this list synced with jitstatHandler in trace-test.js. */
JITSTAT(recorderStarted)
JITSTAT(recorderAborted)
JITSTAT(traceCompleted)

View File

@ -29,6 +29,7 @@ function jitstatHandler(f)
f("recorderAborted");
f("traceCompleted");
f("sideExitIntoInterpreter");
f("timeoutIntoInterpreter");
f("typeMapMismatchAtEntry");
f("returnToDifferentLoopHeader");
f("traceTriggered");
@ -36,9 +37,10 @@ function jitstatHandler(f)
f("treesTrashed");
f("slotPromoted");
f("unstableLoopVariable");
f("noCompatInnerTrees");
f("breakLoopExits");
f("returnLoopExits");
f("mergedLoopExits")
f("noCompatInnerTrees");
}
function test(f)