From bd3e3682dc9bbe852b5d63ed3e225a35b1a28bf6 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 16 Jun 2011 08:09:06 +0000 Subject: remove static VM_BlockCopy from vm_powerpc --- src/qcommon/vm_powerpc.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/qcommon/vm_powerpc.c') diff --git a/src/qcommon/vm_powerpc.c b/src/qcommon/vm_powerpc.c index 7ce374d0..39aec0d9 100644 --- a/src/qcommon/vm_powerpc.c +++ b/src/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 */ -- cgit