Use a limited history buffer for tailcall counts while recording.

This commit is contained in:
Mike Pall
2010-02-18 19:32:13 +01:00
parent 65586ca4dc
commit b11eeab906
2 changed files with 17 additions and 14 deletions

View File

@@ -229,7 +229,7 @@ typedef struct jit_State {
int32_t instunroll; /* Unroll counter for instable loops. */
int32_t loopunroll; /* Unroll counter for loop ops in side traces. */
int32_t tailcalled; /* Number of successive tailcalls. */
uint64_t tailcalled; /* History of the number of successive tailcalls. */
int32_t framedepth; /* Current frame depth. */
int32_t retdepth; /* Return frame depth (count of RETF). */