Bug 606629 - Record op execution counts for mjitted code (r=dmandelin)

I hope to obsolete this soon with bug 637393.
This commit is contained in:
Steve Fink
2010-10-22 17:18:47 -07:00
parent 6544301519
commit 309819dad7
9 changed files with 139 additions and 13 deletions

View File

@@ -523,18 +523,18 @@ CallResultEscapes(jsbytecode *pc);
#endif
#ifdef DEBUG
#ifdef __cplusplus
/*
* Disassemblers, for debugging only.
*/
#include <stdio.h>
#ifdef __cplusplus
extern JS_FRIEND_API(JSBool)
js_Disassemble(JSContext *cx, JSScript *script, JSBool lines, js::Sprinter *sp);
js_Disassemble(JSContext *cx, JSScript *script, JSBool lines, js::Sprinter *sp, int *counts = NULL);
extern JS_FRIEND_API(uintN)
js_Disassemble1(JSContext *cx, JSScript *script, jsbytecode *pc, uintN loc,
JSBool lines, js::Sprinter *sp);
#endif /* __cplusplus */
JSBool lines, js::Sprinter *sp, int *counts = NULL);
#endif
#endif /* DEBUG */
/*