From: Matt Birkholz Date: Tue, 31 Jan 2017 00:21:19 +0000 (-0700) Subject: svm: Remove imports from (cross-reference). X-Git-Tag: mit-scheme-pucked-9.2.12~227^2~14 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=9b4197427c1b7e64bee9da205d1f38fa2cad2cbb;p=mit-scheme.git svm: Remove imports from (cross-reference). --- diff --git a/src/compiler/machines/svm/compiler.pkg b/src/compiler/machines/svm/compiler.pkg index b14d70b80..3ae52d7fd 100644 --- a/src/compiler/machines/svm/compiler.pkg +++ b/src/compiler/machines/svm/compiler.pkg @@ -230,13 +230,6 @@ USA. syntax-files!) (import (scode-optimizer top-level) sf/internal) - (import (cross-reference) - os-types - read-package-model - pmodel/pathname - pmodel/packages - package/name - package/files) (initialization (initialize-package!))) (define-package (compiler top-level) diff --git a/src/compiler/machines/svm/decls.scm b/src/compiler/machines/svm/decls.scm index 05893bd05..7e58fe10d 100644 --- a/src/compiler/machines/svm/decls.scm +++ b/src/compiler/machines/svm/decls.scm @@ -45,6 +45,12 @@ USA. (define (setup-source-nodes!) + (define xref (->environment '(cross-reference))) + (define read-package-model (access read-package-model xref)) + (define pmodel/packages (access pmodel/packages xref)) + (define package/name (access package/name xref)) + (define package/files (access package/files xref)) + ;; Assume there are no os-specific files or packages. (define pmodel (read-package-model "compiler" 'unix))