diff options
Diffstat (limited to 'src/lj_ffrecord.c')
-rw-r--r-- | src/lj_ffrecord.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lj_ffrecord.c b/src/lj_ffrecord.c index 0dccaa65..0fb48504 100644 --- a/src/lj_ffrecord.c +++ b/src/lj_ffrecord.c | |||
@@ -21,6 +21,8 @@ | |||
21 | #include "lj_iropt.h" | 21 | #include "lj_iropt.h" |
22 | #include "lj_trace.h" | 22 | #include "lj_trace.h" |
23 | #include "lj_record.h" | 23 | #include "lj_record.h" |
24 | #include "lj_ffrecord.h" | ||
25 | #include "lj_crecord.h" | ||
24 | #include "lj_dispatch.h" | 26 | #include "lj_dispatch.h" |
25 | #include "lj_vm.h" | 27 | #include "lj_vm.h" |
26 | 28 | ||
@@ -55,13 +57,6 @@ | |||
55 | ** in a common handler. | 57 | ** in a common handler. |
56 | */ | 58 | */ |
57 | 59 | ||
58 | /* Data used by handlers to record a fast function. */ | ||
59 | typedef struct RecordFFData { | ||
60 | TValue *argv; /* Runtime argument values. */ | ||
61 | ptrdiff_t nres; /* Number of returned results (defaults to 1). */ | ||
62 | uint32_t data; /* Per-ffid auxiliary data (opcode, literal etc.). */ | ||
63 | } RecordFFData; | ||
64 | |||
65 | /* Type of handler to record a fast function. */ | 60 | /* Type of handler to record a fast function. */ |
66 | typedef void (LJ_FASTCALL *RecordFunc)(jit_State *J, RecordFFData *rd); | 61 | typedef void (LJ_FASTCALL *RecordFunc)(jit_State *J, RecordFFData *rd); |
67 | 62 | ||