mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-29 18:27:37 +01: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:
parent
e196ffd7eb
commit
57c6184925
1 changed files with 1 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue