1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-28 20:21:45 +02:00

(get_script_cache): Flush cache only if the generation-numbers differ.

(Logical change 1.29)
This commit is contained in:
mostang.com!davidm 2002-12-03 08:19:58 +00:00
parent b8802b5c11
commit 5ef3b80ed0

View file

@ -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;