From d8b7532fc1419065bd3baf161eeba1335176e920 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 16 Jun 2011 08:09:06 +0000 Subject: [PATCH] remove static VM_BlockCopy from vm_powerpc --- code/qcommon/vm_powerpc.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/code/qcommon/vm_powerpc.c b/code/qcommon/vm_powerpc.c index ec1d70d4..eb66c5ad 100644 --- a/code/qcommon/vm_powerpc.c +++ b/code/qcommon/vm_powerpc.c @@ -389,23 +389,6 @@ VM_AsmCall( int callSyscallInvNum, int callProgramStack ) return ret; } -static void -VM_BlockCopy( unsigned int dest, unsigned int src, unsigned int count ) -{ - unsigned dataMask = currentVM->dataMask; - - if ( (dest & dataMask) != dest - || (src & dataMask) != src - || ((dest+count) & dataMask) != dest + count - || ((src+count) & dataMask) != src + count) - { - DIE( "OP_BLOCK_COPY out of range!"); - } - - memcpy( currentVM->dataBase+dest, currentVM->dataBase+src, count ); -} - - /* * code-block descriptors */