1.1 --- a/sourcepawn/jit/x86/jit_x86.cpp Thu May 29 04:47:42 2008 +0000
1.2 +++ b/sourcepawn/jit/x86/jit_x86.cpp Thu May 29 04:50:59 2008 +0000
1.3 @@ -5,7 +5,7 @@
1.4 * Copyright (C)2004-2008 AlliedModders LLC. All rights reserved.
1.5 * =============================================================================
1.6 *
1.7 - * This file is not open source and may not be copied without explicit wriiten
1.8 + * This file is not open source and may not be copied without explicit written
1.9 * permission of AlliedModders LLC. This file may not be redistributed in whole
1.10 * or significant part.
1.11 * For information, see LICENSE.txt or http://www.sourcemod.net/license.php
1.12 @@ -2554,7 +2554,9 @@
1.13 *(writer.inptr++) = OP_NOP;
1.14 *(writer.inptr++) = OP_NOP;
1.15 op = (OPCODE)data->jit_float_table[idx].index;
1.16 - } else {
1.17 + }
1.18 + else
1.19 + {
1.20 writer.inptr--;
1.21 }
1.22 }
1.23 @@ -2585,7 +2587,9 @@
1.24 writer.outptr = writer.outbase;
1.25 /* go back for third pass */
1.26 goto jit_rewind;
1.27 - } else {
1.28 + }
1.29 + else
1.30 + {
1.31 /*******
1.32 * THIRD PASS - write opcode info
1.33 *******/
1.34 @@ -2663,6 +2667,7 @@
1.35 ctx->natives[iter].pfn = &InvalidNative;
1.36 ctx->natives[iter].status = SP_NATIVE_UNBOUND;
1.37 ctx->natives[iter].flags = 0;
1.38 + ctx->natives[iter].user = NULL;
1.39 }
1.40 }
1.41
2.1 --- a/sourcepawn/jit/x86/jit_x86.h Thu May 29 04:47:42 2008 +0000
2.2 +++ b/sourcepawn/jit/x86/jit_x86.h Thu May 29 04:50:59 2008 +0000
2.3 @@ -5,7 +5,7 @@
2.4 * Copyright (C)2004-2008 AlliedModders LLC. All rights reserved.
2.5 * =============================================================================
2.6 *
2.7 - * This file is not open source and may not be copied without explicit wriiten
2.8 + * This file is not open source and may not be copied without explicit written
2.9 * permission of AlliedModders LLC. This file may not be redistributed in whole
2.10 * or significant part.
2.11 * For information, see LICENSE.txt or http://www.sourcemod.net/license.php