diff --git a/sourcepawn/compiler/sc.h b/sourcepawn/compiler/sc.h index 7e4d5bd1..3b81465c 100644 --- a/sourcepawn/compiler/sc.h +++ b/sourcepawn/compiler/sc.h @@ -718,7 +718,6 @@ SC_FUNC void pushval(cell val); SC_FUNC void popreg(regid reg); SC_FUNC void genarray(int dims, int _autozero); SC_FUNC void swap1(void); -SC_FUNC void xchg(void); SC_FUNC void ffswitch(int label); SC_FUNC void ffcase(cell value,char *labelname,int newtable); SC_FUNC void ffcall(symbol *sym,const char *label,int numargs); diff --git a/sourcepawn/compiler/sc4.c b/sourcepawn/compiler/sc4.c index e7f00d23..70c6f06f 100644 --- a/sourcepawn/compiler/sc4.c +++ b/sourcepawn/compiler/sc4.c @@ -1394,12 +1394,6 @@ SC_FUNC void jmp_eq0(int number) code_idx+=opcodes(1)+opargs(1); } -SC_FUNC void xchg(void) -{ - stgwrite("\txchg\n"); - code_idx+=opcodes(1); -} - /* write a value in hexadecimal; optionally adds a newline */ SC_FUNC void outval(cell val,int newline) {