mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-23 07:57:38 +01:00
(alloc_reg_state): Use reg_state_pool instead of state_record_pool.
(free_reg_state): Ditto. (Logical change 1.90)
This commit is contained in:
parent
c6455fd5c7
commit
a9236a84ea
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ static int create_state_record_for (struct cursor *c,
|
|||
|
||||
typedef unsigned long unw_word;
|
||||
|
||||
#define alloc_reg_state() (mempool_alloc (&unw.state_record_pool))
|
||||
#define free_reg_state(rs) (mempool_free (&unw.state_record_pool, rs))
|
||||
#define alloc_reg_state() (mempool_alloc (&unw.reg_state_pool))
|
||||
#define free_reg_state(rs) (mempool_free (&unw.reg_state_pool, rs))
|
||||
#define alloc_labeled_state() (mempool_alloc (&unw.labeled_state_pool))
|
||||
#define free_labeled_state(s) (mempool_free (&unw.labeled_state_pool, s))
|
||||
|
||||
|
|
Loading…
Reference in a new issue