Call ProxyBlock in ArmJit too. Plus various cleanup and one more string function.

This commit is contained in:
Henrik Rydgård committed 2013-12-19 11:45:39 +01:00
1 parent 5585b85ccc
commit 3957b5fb42
5 files changed
+31 -30

No files matched your search

+3 -1
View File
@@ -156,7 +156,9 @@ int JitBlockCache::AllocateBlock(u32 em_address)
return num_blocks - 1;
}
int JitBlockCache::CreateProxyBlock(u32 rootAddress, u32 startAddress, u32 size, const u8 *codePtr) {
int JitBlockCache::ProxyBlock(u32 rootAddress, u32 startAddress, u32 size, const u8 *codePtr) {
// TODO: If there's an existing block at the startAddress, add rootAddress as a proxy root of that block.
JitBlock &b = blocks[num_blocks];
b.invalid = false;
b.originalAddress = startAddress;