variable renaming

This commit is contained in:
dyoo 2011-03-02 17:37:14 -05:00
parent e9ba3cee85
commit 2a9fe0d72a
3 changed files with 7 additions and 5 deletions

View File

@ -34,9 +34,9 @@
(define-struct: EnvWholePrefixReference ([depth : Natural])
#:transparent)
(define-type LexicalReference (U EnvLexicalReference
EnvWholePrefixReference))
;; An environment reference
(define-type EnvReference (U EnvLexicalReference
EnvWholePrefixReference))
@ -111,7 +111,7 @@
;; Constructs a closure, given the label and the set of lexical references
;; into the environment that the closure needs to close over.
(define-struct: MakeCompiledProcedure ([label : Symbol]
[closed-vals : (Listof LexicalReference)])
[closed-vals : (Listof EnvReference)])
#:transparent)
;; Applies the primitive procedure that's stored in the proc register, using

View File

@ -97,7 +97,6 @@
(loop (rest addresses))]))]))))
(define-type EnvReference (U EnvLexicalReference EnvWholePrefixReference))
(: lexical-references->compile-time-environment ((Listof EnvReference) CompileTimeEnvironment CompileTimeEnvironment
-> CompileTimeEnvironment))

View File

@ -11,6 +11,9 @@
#:transparent)
(define-type CompileTimeEnvironmentEntry (U False ;; placeholder for temporary space
Symbol ;; lexically bound local identiifer
Prefix ;; a prefix