From: Guillermo J. Rozas Date: Wed, 24 May 1989 05:09:32 +0000 (+0000) Subject: Fix bug in disassembler/write-compiled-code-block by which the X-Git-Tag: 20090517-FFI~12048 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=5fc04c66b0dbfa46090293ae2bbee1154ee99082;p=mit-scheme.git Fix bug in disassembler/write-compiled-code-block by which the dbg-info/labels were being extracted even if there was no info structure. --- diff --git a/v7/src/compiler/machines/vax/dassm1.scm b/v7/src/compiler/machines/vax/dassm1.scm index 8038a7b58..b4d9f7c26 100644 --- a/v7/src/compiler/machines/vax/dassm1.scm +++ b/v7/src/compiler/machines/vax/dassm1.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/vax/dassm1.scm,v 4.2 1989/05/17 20:28:09 jinx Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/vax/dassm1.scm,v 4.3 1989/05/24 05:09:32 jinx Exp $ $MC68020-Header: dassm1.scm,v 4.10 88/12/30 07:05:04 GMT cph Exp $ Copyright (c) 1987, 1989 Massachusetts Institute of Technology @@ -112,7 +112,7 @@ MIT in each case. |# (write-string "]")) (define (disassembler/write-compiled-code-block block info #!optional page?) - (let ((symbol-table (dbg-info/labels info))) + (let ((symbol-table (and info (dbg-info/labels info)))) (if (or (default-object? page?) page?) (begin (write-char #\page) @@ -303,4 +303,4 @@ MIT in each case. |# (if symbol-table (write-string " ")) (write-instruction) - (newline)) + (newline)) \ No newline at end of file