sourcepawn/jit/x86/jit_x86.cpp
changeset 2304 e825f064a474
parent 2289 44045ead61cd
child 2378 d812052c5821
     1.1 --- a/sourcepawn/jit/x86/jit_x86.cpp	Sun Sep 14 22:16:35 2008 -0700
     1.2 +++ b/sourcepawn/jit/x86/jit_x86.cpp	Sun Sep 14 23:42:20 2008 -0700
     1.3 @@ -2647,6 +2647,10 @@
     1.4  		/* Write these last because error jumps should be predicted forwardly (not taken) */
     1.5  		WriteErrorRoutines(data, jit);
     1.6  
     1.7 +		AlignMe(jit);
     1.8 +		data->jit_sysreq_c = jit->get_outputpos();
     1.9 +		WriteOp_Sysreq_C_Function(jit);
    1.10 +
    1.11  		/* Build thunk tables */
    1.12  		if (data->num_thunks > data->max_thunks)
    1.13  		{
    1.14 @@ -2709,6 +2713,10 @@
    1.15  		/* Write these last because error jumps should be predicted as not taken (forward) */
    1.16  		WriteErrorRoutines(data, jit);
    1.17  
    1.18 +		AlignMe(jit);
    1.19 +		data->jit_sysreq_c = jit->get_outputpos();
    1.20 +		WriteOp_Sysreq_C_Function(jit);
    1.21 +
    1.22  		/* Write the thunk offsets. */
    1.23  		for (unsigned int i = 0; i < data->num_thunks; i++)
    1.24  		{