forked from Imagelibrary/binutils-gdb
Convert type copying to new hash table
This converts the type copying code to use the new hash map. Change-Id: I35f0a4946dcc5c5eb84820126cf716b600f3302f Co-Authored-By: Tom Tromey <tom@tromey.com> Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
committed by
Simon Marchi
parent
c4b9453529
commit
112f6d85fb
@@ -105,9 +105,9 @@ do_module_cleanup (void *arg, int registers_valid)
|
||||
static type *
|
||||
create_copied_type_recursive (objfile *objfile, type *func_type)
|
||||
{
|
||||
htab_up copied_types = create_copied_types_hash ();
|
||||
func_type = copy_type_recursive (func_type, copied_types.get ());
|
||||
return func_type;
|
||||
copied_types_hash_t copied_types;
|
||||
|
||||
return copy_type_recursive (func_type, copied_types);
|
||||
}
|
||||
|
||||
/* Perform inferior call of MODULE. This function may throw an error.
|
||||
|
||||
Reference in New Issue
Block a user