diff -r beca27b0185b -r e825f064a474 sourcepawn/jit/x86/jit_x86.cpp --- a/sourcepawn/jit/x86/jit_x86.cpp Sun Sep 14 22:16:35 2008 -0700 +++ b/sourcepawn/jit/x86/jit_x86.cpp Sun Sep 14 23:42:20 2008 -0700 @@ -2647,6 +2647,10 @@ /* Write these last because error jumps should be predicted forwardly (not taken) */ WriteErrorRoutines(data, jit); + AlignMe(jit); + data->jit_sysreq_c = jit->get_outputpos(); + WriteOp_Sysreq_C_Function(jit); + /* Build thunk tables */ if (data->num_thunks > data->max_thunks) { @@ -2709,6 +2713,10 @@ /* Write these last because error jumps should be predicted as not taken (forward) */ WriteErrorRoutines(data, jit); + AlignMe(jit); + data->jit_sysreq_c = jit->get_outputpos(); + WriteOp_Sysreq_C_Function(jit); + /* Write the thunk offsets. */ for (unsigned int i = 0; i < data->num_thunks; i++) {