diff options
author | Ludwig Nussel <ludwig.nussel@suse.de> | 2011-06-16 08:09:06 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 21:28:22 +0000 |
commit | bd3e3682dc9bbe852b5d63ed3e225a35b1a28bf6 (patch) | |
tree | 35333f333e418b0e07fe4d86c67a3033000da0e5 /src/qcommon/vm_powerpc.c | |
parent | e1f31b969a05dce1480d7283bf953e3604bbe15b (diff) |
remove static VM_BlockCopy from vm_powerpc
Diffstat (limited to 'src/qcommon/vm_powerpc.c')
-rw-r--r-- | src/qcommon/vm_powerpc.c | 17 |
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 */ |