mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-26 21:13:42 +01:00
(get_script_cache): Flush cache only if the generation-numbers differ.
(Logical change 1.29)
This commit is contained in:
parent
b8802b5c11
commit
5ef3b80ed0
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ get_script_cache (unw_addr_space_t as)
|
|||
cache = &ia64_per_thread_cache;
|
||||
#endif
|
||||
|
||||
if (as->cache_generation - cache->generation < 0x80000000)
|
||||
if (as->cache_generation != cache->generation)
|
||||
flush_script_cache (as, cache);
|
||||
|
||||
return cache;
|
||||
|
|
Loading…
Reference in a new issue