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.c | |
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 'src/lj_trace.c')
-rw-r--r-- | src/lj_trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_trace.c b/src/lj_trace.c index 54f23cb2..37d20328 100644 --- a/src/lj_trace.c +++ b/src/lj_trace.c | |||
@@ -552,7 +552,7 @@ static void trace_new(jit_State *J) | |||
552 | } | 552 | } |
553 | 553 | ||
554 | /* A hotcount triggered. Start recording a root trace. */ | 554 | /* A hotcount triggered. Start recording a root trace. */ |
555 | void lj_trace_hot(jit_State *J, const BCIns *pc) | 555 | void LJ_FASTCALL lj_trace_hot(jit_State *J, const BCIns *pc) |
556 | { | 556 | { |
557 | lua_State *L = J->L; | 557 | lua_State *L = J->L; |
558 | L->top = curr_topL(L); /* Only called from Lua and NRESULTS is not used. */ | 558 | L->top = curr_topL(L); /* Only called from Lua and NRESULTS is not used. */ |
@@ -564,7 +564,7 @@ void lj_trace_hot(jit_State *J, const BCIns *pc) | |||
564 | } | 564 | } |
565 | 565 | ||
566 | /* A trace exited. Restore interpreter state and check for hot exits. */ | 566 | /* A trace exited. Restore interpreter state and check for hot exits. */ |
567 | void *lj_trace_exit(jit_State *J, void *exptr) | 567 | void * LJ_FASTCALL lj_trace_exit(jit_State *J, void *exptr) |
568 | { | 568 | { |
569 | lua_State *L = J->L; | 569 | lua_State *L = J->L; |
570 | void *cf; | 570 | void *cf; |