summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudwig Nussel <ludwig.nussel@suse.de>2011-06-16 08:09:06 +0000
committerTim Angus <tim@ngus.net>2013-01-10 21:28:22 +0000
commitbd3e3682dc9bbe852b5d63ed3e225a35b1a28bf6 (patch)
tree35333f333e418b0e07fe4d86c67a3033000da0e5
parente1f31b969a05dce1480d7283bf953e3604bbe15b (diff)
remove static VM_BlockCopy from vm_powerpc
-rw-r--r--src/qcommon/vm_powerpc.c17
1 files changed, 0 insertions, 17 deletions
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
*/