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
Родитель 11a39d68ba
Коммит e16147fd96
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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)

Просмотреть файл

@ -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)