Add hashtable/set_empty to go with _reset, which removes all items from the
authorDavid Given <dg@cowlark.com>
Fri, 16 Dec 2016 21:16:45 +0000 (22:16 +0100)
committerDavid Given <dg@cowlark.com>
Fri, 16 Dec 2016 21:16:45 +0000 (22:16 +0100)
commit8bfb9eed3c7a4d0f37ac190944ecbf629a3d3c87
tree34a65ef5630524e025e38c6a19dbb61a8a1c189d
parent5d4c6f1425890d9a7cc39cee7c111f917b5c0c2f
Add hashtable/set_empty to go with _reset, which removes all items from the
table but doesn't free the bucket array or reset the size --- saves an
allocation when reusing the hashtable.
mach/proto/mcg/pass_livevreganalysis.c
mach/proto/mcg/pass_nonlocalphis.c
mach/proto/mcg/pass_removedeadphis.c
mach/proto/mcg/pass_typeinference.c
mach/proto/mcg/pass_vregusage.c
modules/src/data/hashtable.c
modules/src/data/hashtable.h
modules/src/data/set.c
modules/src/data/set.h