Add extra operation to extract bindings from symbol table.
authorChris Hanson <org/chris-hanson/cph>
Thu, 28 May 1987 16:46:45 +0000 (16:46 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 28 May 1987 16:46:45 +0000 (16:46 +0000)
v7/src/compiler/back/symtab.scm

index d33c6277b7547b57fea5f9a54a87ee55c713d666..88af3da59c2716e66621463f7945e0410cebda58 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/back/symtab.scm,v 1.39 1987/03/19 00:50:36 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/back/symtab.scm,v 1.40 1987/05/28 16:46:45 cph Exp $
 
 Copyright (c) 1987 Massachusetts Institute of Technology
 
@@ -39,6 +39,9 @@ MIT in each case. |#
 (define (make-symbol-table)
   (cons "Symbol Table" '()))
 
+(define-integrable (symbol-table-bindings table)
+  (cdr table))
+
 (define (symbol-table-define! table key value)
   (let ((entry (assq key (cdr table))))
     (if entry