Back out history buffer for tailcall counts.

Use an aggregate counter independent of frame depth.
This commit is contained in:
Mike Pall
2010-02-22 16:57:59 +01:00
parent 19af483166
commit 86494c783d
2 changed files with 3 additions and 5 deletions

View File

@@ -231,9 +231,9 @@ typedef struct jit_State {
TraceState state; /* Trace compiler state. */
uint64_t tailcalled; /* History of the number of successive tailcalls. */
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. */
int32_t framedepth; /* Current frame depth. */
int32_t retdepth; /* Return frame depth (count of RETF). */