summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-03-18 00:46:16 +0100
committerAndy Wingo <wingo@pobox.com>2009-03-18 00:46:16 +0100
commit7eba9c99c262acb872a52d95c45a216232d2b8dc (patch)
tree52c2a2fb5c170b332ffd78119c637ebeb11101c6
parentb190790255a44ae848b2ee3b313ae5da084e3cff (diff)
downloadguile-7eba9c99c262acb872a52d95c45a216232d2b8dc.tar.gz
doubly-weak callers db
* module/system/xref.scm (ensure-callers-db): Store the callers db as a doubly-weak hash table.
-rw-r--r--module/system/xref.scm2
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)))))