1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-26 17:17:39 +01:00

(dwarf_find_save_locs): put_unwind_info() is not needed in the cached case.

This commit is contained in:
Arun Sharma 2006-07-26 21:23:30 -06:00 committed by David Mosberger-Tang
parent 036cbfa020
commit 3dfde7a3f0

View file

@ -794,11 +794,12 @@ dwarf_find_save_locs (struct dwarf_cursor *c)
c->hint = rs->hint;
c->prev_rs = rs - cache->buckets;
put_unwind_info (c, &c->pi);
apply:
if ((ret = apply_reg_state (c, rs)) < 0)
return ret;
put_unwind_info (c, &c->pi);
return 0;
}