r1502 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Mar 2 12:29:35 EST 2009


Author: ludwig
Date: 2009-03-02 12:29:35 -0500 (Mon, 02 Mar 2009)
New Revision: 1502

Modified:
   trunk/code/qcommon/vm.c
Log:
qcommon: vm: sparc, like 386, doesn't need var-args conversion.

Signed-off-by: David S. Miller <davem at davemloft.net>

Modified: trunk/code/qcommon/vm.c
===================================================================
--- trunk/code/qcommon/vm.c	2009-03-02 17:29:30 UTC (rev 1501)
+++ trunk/code/qcommon/vm.c	2009-03-02 17:29:35 UTC (rev 1502)
@@ -765,7 +765,7 @@
                             args[4],  args[5],  args[6], args[7],
                             args[8],  args[9]);
 	} else {
-#if id386 // i386 calling convention doesn't need conversion
+#if id386 || idsparc // i386/sparc calling convention doesn't need conversion
 #ifndef NO_VM_COMPILED
 		if ( vm->compiled )
 			r = VM_CallCompiled( vm, (int*)&callnum );




More information about the quake3-commits mailing list