some cleanup
This commit is contained in:
parent
9aa1ac12d8
commit
ca444e49ee
|
@ -1286,13 +1286,12 @@
|
||||||
(define (ensure-simple-expression e)
|
(define (ensure-simple-expression e)
|
||||||
(if (or (Constant? e)
|
(if (or (Constant? e)
|
||||||
(LocalRef? e)
|
(LocalRef? e)
|
||||||
(ToplevelRef? e)
|
(ToplevelRef? e))
|
||||||
)
|
|
||||||
e
|
e
|
||||||
(error 'ensure-simple-expression)))
|
(error 'ensure-simple-expression)))
|
||||||
|
|
||||||
|
|
||||||
(: simple-operands->opargs ((Listof Expression) (Listof CompileTimeEnvironmentEntry) -> (Listof (U OpArg ModuleVariable))))
|
(: simple-operands->opargs ((Listof Expression) (Listof CompileTimeEnvironmentEntry) -> (Listof OpArg)))
|
||||||
;; Produces a list of OpArgs if all the operands are particularly simple, and false otherwise.
|
;; Produces a list of OpArgs if all the operands are particularly simple, and false otherwise.
|
||||||
(define (simple-operands->opargs rands knowledge)
|
(define (simple-operands->opargs rands knowledge)
|
||||||
(map (lambda: ([e : Expression]
|
(map (lambda: ([e : Expression]
|
||||||
|
|
|
@ -48,7 +48,6 @@
|
||||||
PrimitivesReference
|
PrimitivesReference
|
||||||
ControlFrameTemporary
|
ControlFrameTemporary
|
||||||
ModulePrefixTarget
|
ModulePrefixTarget
|
||||||
ModuleVariable
|
|
||||||
))
|
))
|
||||||
|
|
||||||
(define-struct: ModuleVariableThing () #:transparent)
|
(define-struct: ModuleVariableThing () #:transparent)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user