remove static VM_BlockCopy from vm_powerpc

This commit is contained in:
Ludwig Nussel 2011-06-16 08:09:06 +00:00
parent 8b7870b81f
commit d8b7532fc1
1 changed files with 0 additions and 17 deletions

View File

@ -389,23 +389,6 @@ VM_AsmCall( int callSyscallInvNum, int callProgramStack )
return ret; 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 * code-block descriptors
*/ */