diff options
author | Mike Pall <mike> | 2010-02-22 16:57:59 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-02-22 16:57:59 +0100 |
commit | 86494c783df79c59d8b92c8ffe110dd9189534e2 (patch) | |
tree | 80d11db4d74fab967ed906cd361e02be99333fef /src/lj_jit.h | |
parent | 19af48316655fac73f6a75a03d65fc6c9a4c7c1a (diff) | |
download | luajit-86494c783df79c59d8b92c8ffe110dd9189534e2.tar.gz luajit-86494c783df79c59d8b92c8ffe110dd9189534e2.tar.bz2 luajit-86494c783df79c59d8b92c8ffe110dd9189534e2.zip |
Back out history buffer for tailcall counts.
Use an aggregate counter independent of frame depth.
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r-- | src/lj_jit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h index 69a066ce..68cebbc2 100644 --- a/src/lj_jit.h +++ b/src/lj_jit.h | |||
@@ -231,9 +231,9 @@ typedef struct jit_State { | |||
231 | 231 | ||
232 | TraceState state; /* Trace compiler state. */ | 232 | TraceState state; /* Trace compiler state. */ |
233 | 233 | ||
234 | uint64_t tailcalled; /* History of the number of successive tailcalls. */ | ||
235 | int32_t instunroll; /* Unroll counter for instable loops. */ | 234 | int32_t instunroll; /* Unroll counter for instable loops. */ |
236 | int32_t loopunroll; /* Unroll counter for loop ops in side traces. */ | 235 | int32_t loopunroll; /* Unroll counter for loop ops in side traces. */ |
236 | int32_t tailcalled; /* Number of successive tailcalls. */ | ||
237 | int32_t framedepth; /* Current frame depth. */ | 237 | int32_t framedepth; /* Current frame depth. */ |
238 | int32_t retdepth; /* Return frame depth (count of RETF). */ | 238 | int32_t retdepth; /* Return frame depth (count of RETF). */ |
239 | 239 | ||