diff options
author | Mike Pall <mike> | 2009-12-27 17:42:41 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2009-12-27 17:42:41 +0100 |
commit | bc470637081979939698413ca108372e672d3b48 (patch) | |
tree | 6559f76ea898aba5c263c8ab56f63eaa2f6480ff /src/lj_trace.h | |
parent | 690760aa3853e63331f46e40c8276d9f5939261d (diff) | |
download | luajit-bc470637081979939698413ca108372e672d3b48.tar.gz luajit-bc470637081979939698413ca108372e672d3b48.tar.bz2 luajit-bc470637081979939698413ca108372e672d3b48.zip |
Use fastcall for remaining 1-arg/2-arg calls from interpreter.
Simplifies conversion to x64 calling conventions.
Diffstat (limited to '')
-rw-r--r-- | src/lj_trace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_trace.h b/src/lj_trace.h index 466ecc00..6a417e15 100644 --- a/src/lj_trace.h +++ b/src/lj_trace.h | |||
@@ -32,8 +32,8 @@ LJ_FUNC void lj_trace_freestate(global_State *g); | |||
32 | 32 | ||
33 | /* Event handling. */ | 33 | /* Event handling. */ |
34 | LJ_FUNC void lj_trace_ins(jit_State *J); | 34 | LJ_FUNC void lj_trace_ins(jit_State *J); |
35 | LJ_FUNCA void lj_trace_hot(jit_State *J, const BCIns *pc); | 35 | LJ_FUNCA void LJ_FASTCALL lj_trace_hot(jit_State *J, const BCIns *pc); |
36 | LJ_FUNCA void *lj_trace_exit(jit_State *J, void *exptr); | 36 | LJ_FUNCA void * LJ_FASTCALL lj_trace_exit(jit_State *J, void *exptr); |
37 | 37 | ||
38 | /* Signal asynchronous abort of trace or end of trace. */ | 38 | /* Signal asynchronous abort of trace or end of trace. */ |
39 | #define lj_trace_abort(g) (G2J(g)->state &= ~LJ_TRACE_ACTIVE) | 39 | #define lj_trace_abort(g) (G2J(g)->state &= ~LJ_TRACE_ACTIVE) |