1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-16 23:11:44 +02:00

(struct unw): Remove "hash" member.

(ia64_init): Replace cache-initialization with call to ia64_script_cache_init().

(Logical change 1.22)
This commit is contained in:
mostang.com!davidm 2002-11-09 07:59:02 +00:00
parent e196ffd7eb
commit 57c6184925

View file

@ -81,7 +81,6 @@ struct ia64_global_unwind_state unw =
struct_offset (struct ia64_cursor, fr_loc[30 - 16])/8,
struct_offset (struct ia64_cursor, fr_loc[31 - 16])/8,
},
hash : { [0 ... IA64_UNW_HASH_SIZE - 1] = -1 },
#if IA64_UNW_DEBUG
debug_level: 0,
preg_name: {
@ -164,12 +163,5 @@ ia64_init (void)
if (8*sizeof(unw_hash_index_t) < IA64_LOG_UNW_HASH_SIZE)
unw_hash_index_t_is_too_narrow();
for (i = 0; i < IA64_UNW_CACHE_SIZE; ++i) {
if (i > 0)
unw.cache[i].lru_chain = (i - 1);
unw.cache[i].coll_chain = -1;
// unw.cache[i].lock = RW_LOCK_UNLOCKED;
}
unw.lru_head = IA64_UNW_CACHE_SIZE - 1;
unw.lru_tail = 0;
ia64_script_cache_init (&unw.global_cache);
}