diff options
author | negativeExponent | 2020-05-21 00:16:51 +0800 |
---|---|---|
committer | negativeExponent | 2020-05-21 00:17:25 +0800 |
commit | a59e553648d65481f8a85822bdd4749fe70371ad (patch) | |
tree | e6ef9eb4c614871732bec1e9127395b973e73817 /deps/lightrec/blockcache.c | |
parent | 5c00ea32a0eab812299b08acd14c25bf6ba4ca7a (diff) | |
download | pcsx_rearmed-a59e553648d65481f8a85822bdd4749fe70371ad.tar.gz pcsx_rearmed-a59e553648d65481f8a85822bdd4749fe70371ad.tar.bz2 pcsx_rearmed-a59e553648d65481f8a85822bdd4749fe70371ad.zip |
Update deps/lightrec
git subrepo clone --branch=master --force https://github.com/pcercuei/lightrec.git deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "2081869"
upstream:
origin: "https://github.com/pcercuei/lightrec.git"
branch: "master"
commit: "2081869"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo.git"
commit: "a04d8c2"
Diffstat (limited to 'deps/lightrec/blockcache.c')
-rw-r--r-- | deps/lightrec/blockcache.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/deps/lightrec/blockcache.c b/deps/lightrec/blockcache.c index 833a8e1..4263431 100644 --- a/deps/lightrec/blockcache.c +++ b/deps/lightrec/blockcache.c @@ -60,12 +60,6 @@ void remove_from_code_lut(struct blockcache *cache, struct block *block) } -void lightrec_mark_for_recompilation(struct blockcache *cache, - struct block *block) -{ - block->flags |= BLOCK_SHOULD_RECOMPILE; -} - void lightrec_register_block(struct blockcache *cache, struct block *block) { u32 pc = kunseg(block->pc); @@ -85,8 +79,6 @@ void lightrec_unregister_block(struct blockcache *cache, struct block *block) u32 pc = kunseg(block->pc); struct block *old = cache->lut[(pc >> 2) & (LUT_SIZE - 1)]; - remove_from_code_lut(cache, block); - if (old == block) { cache->lut[(pc >> 2) & (LUT_SIZE - 1)] = old->next; return; |