diff options
author | Andy Wingo <wingo@pobox.com> | 2009-03-18 00:46:16 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2009-03-18 00:46:16 +0100 |
commit | 7eba9c99c262acb872a52d95c45a216232d2b8dc (patch) | |
tree | 52c2a2fb5c170b332ffd78119c637ebeb11101c6 /module/system/xref.scm | |
parent | b190790255a44ae848b2ee3b313ae5da084e3cff (diff) | |
download | guile-7eba9c99c262acb872a52d95c45a216232d2b8dc.tar.gz |
doubly-weak callers db
* module/system/xref.scm (ensure-callers-db): Store the callers db as a
doubly-weak hash table.
Diffstat (limited to 'module/system/xref.scm')
-rw-r--r-- | module/system/xref.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/system/xref.scm b/module/system/xref.scm index e71cfe0f0..a8a37e49a 100644 --- a/module/system/xref.scm +++ b/module/system/xref.scm @@ -116,7 +116,7 @@ (if (not *callers-db*) (begin - (set! db (make-hash-table)) + (set! db (make-doubly-weak-hash-table)) (visit-module the-root-module) (set! *callers-db* db))))) |