/[cmucl]/src/compiler/main.lisp
ViewVC logotype

Log of /src/compiler/main.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.161 - (view) (annotate) - [select for diffs]
Sun Aug 21 15:16:01 2011 UTC (2 years, 7 months ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, HEAD, snapshot-2011-09
Changes since 1.160: +8 -5 lines
Diff to previous 1.160
Improve type progagation for LOAD-TIME-VALUE.

Patch from Helmut Eller, cmucl-imp 2011-06-11.

Revision 1.160 - (view) (annotate) - [select for diffs]
Mon Mar 28 12:07:34 2011 UTC (3 years ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2011-04, snapshot-2011-06, snapshot-2011-07
Changes since 1.159: +7 -3 lines
Diff to previous 1.159
Second return value of compile-file should be true if style-warnings
exist.

Issue noted by Douglas Crosher, cmucl-imp, 2011-03-23.

Revision 1.159 - (view) (annotate) - [select for diffs]
Fri Sep 24 12:12:05 2010 UTC (3 years, 6 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_20b, cross-sol-x86-2010-12-20, cross-sol-x86-base, cross-sol-x86-merged, cross-sparc-branch-base, snapshot-2010-11, snapshot-2010-12, snapshot-2011-01, snapshot-2011-02, snapshot-2011-03
Branch point for: cross-sol-x86-branch, cross-sparc-branch
Changes since 1.158: +22 -7 lines
Diff to previous 1.158
Add :decoding-error arg to compile-file to specify how decoding errors
should be handled.

compiler/main.lisp:
o Add DECODING-ERROR slot to SOURCE-INFO structure.
o MAKE-FILE-SOURCE-INFO requires a decoding error argument so the
  SOURCE-INFO structure can be properly initialized.
o Add :DECODING-ERROR keyword arg to COMPILE-FILE to specify how
  decoding errors are handled.  Default is T, which means to signal an
  error.

compiler/fndb.lisp:
o Tell compiler about the new parameter.

general-info/release-20c.txt:
o Document change.

Revision 1.158 - (view) (annotate) - [select for diffs]
Wed Sep 15 15:47:29 2010 UTC (3 years, 7 months ago) by rtoy
Branch: MAIN
Changes since 1.157: +3 -2 lines
Diff to previous 1.157
Canonicalize the external-format name when create the source-info for
a file.  In particular this converts :default to the actual format
instead of leaving it as :default.  This means when the file is later
opened for source-info, the actual format is used instead of whatever
the default format is at the time.

Revision 1.157 - (view) (annotate) - [select for diffs]
Tue Jun 1 20:27:09 2010 UTC (3 years, 10 months ago) by rtoy
Branch: MAIN
CVS Tags: release-20b-pre1, release-20b-pre2, snapshot-2010-07, snapshot-2010-08, sparc-tramp-assem-2010-07-19, sparc-tramp-assem-base
Branch point for: RELEASE-20B-BRANCH, sparc-tramp-assem-branch
Changes since 1.156: +3 -3 lines
Diff to previous 1.156
Output time in ISO 8601 format.

Revision 1.156 - (view) (annotate) - [select for diffs]
Tue Apr 20 17:57:46 2010 UTC (3 years, 11 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2010-05, snapshot-2010-06
Changes since 1.155: +30 -30 lines
Diff to previous 1.155
Change uses of _"foo" to (intl:gettext "foo").  This is because slime
may get confused with source locations if the reader macros are
installed.

Revision 1.155 - (view) (annotate) - [select for diffs]
Mon Apr 19 15:08:20 2010 UTC (3 years, 11 months ago) by rtoy
Branch: MAIN
Changes since 1.154: +19 -19 lines
Diff to previous 1.154
Remove _N"" reader macro from docstrings when possible.

Revision 1.154 - (view) (annotate) - [select for diffs]
Sat Apr 3 18:40:48 2010 UTC (4 years ago) by rtoy
Branch: MAIN
Changes since 1.153: +3 -2 lines
Diff to previous 1.153
Bind intl::*default-domain* so that changes to intl::*default-domain*
in the compiled file don't change it.

Revision 1.153 - (view) (annotate) - [select for diffs]
Fri Mar 19 15:19:01 2010 UTC (4 years ago) by rtoy
Branch: MAIN
CVS Tags: post-merge-intl-branch, snapshot-2010-04
Changes since 1.152: +66 -62 lines
Diff to previous 1.152
Merge intl-branch 2010-03-18 to HEAD.  To build, you need to use
boot-2010-02-1 as the bootstrap file.  You should probably also use
the new -P option for build.sh to generate and update the po files
while building.

Revision 1.148.2.9 - (view) (annotate) - [select for diffs]
Fri Mar 19 02:22:29 2010 UTC (4 years ago) by rtoy
Branch: intl-branch
Changes since 1.148.2.8: +2 -2 lines
Diff to previous 1.148.2.8 , to branch point 1.148 , to next main 1.161
Clarify docstring for COMPILE.

Revision 1.148.2.8 - (view) (annotate) - [select for diffs]
Thu Mar 18 22:17:16 2010 UTC (4 years ago) by rtoy
Branch: intl-branch
Changes since 1.148.2.7: +27 -8 lines
Diff to previous 1.148.2.7 , to branch point 1.148
Merge changes from HEAD, update po files.

Revision 1.152 - (view) (annotate) - [select for diffs]
Thu Mar 18 16:43:12 2010 UTC (4 years ago) by rtoy
Branch: MAIN
CVS Tags: pre-merge-intl-branch
Changes since 1.151: +2 -1 lines
Diff to previous 1.151
Make CMUCL signal a cerror if we try to redefine a slot accessor.  If
continued, the accessor is redefined.  Previously, a warning was
printed and the structure was (mostly) undefined.

compiler/proclaim.lisp:
o Add new function NOTE-IF-ACCESSOR to check if we're redefining a
  slot accessor.  If so, signal a cerror, and redefine if continued.
o Adjust DEFINE-FUNCTION-NAME to call NOTE-IF-ACCESSOR.

compiler/main.lisp:
o Make COMPILE-FIX-FUNCTION-NAME call NOTE-IF-ACCESSOR to catch
  attempts to redefine a slot-accessor.

code/macros.lisp:
o Move call to C::DEFINE-FUNCTION-NAME to the top of C::%%DEFUN before
  we set the fdefinition.   This allows us to give up before modifying
  anything if we choose not to redefine the slot accessor.

Revision 1.151 - (view) (annotate) - [select for diffs]
Tue Mar 16 14:13:24 2010 UTC (4 years, 1 month ago) by rtoy
Branch: MAIN
Changes since 1.150: +15 -7 lines
Diff to previous 1.150
COMPILE will now update the macro-function if the specified name names
a macro.  Previously, the fdefinition of NAME was set.

Revision 1.150 - (view) (annotate) - [select for diffs]
Sun Mar 14 14:51:21 2010 UTC (4 years, 1 month ago) by rtoy
Branch: MAIN
Changes since 1.149: +12 -2 lines
Diff to previous 1.149
For a compiled function, recompile from sources if the
function-lambda-expression is available and is in a null lexical
environment.  This is the quite useful previous behavior.

Revision 1.148.2.7 - (view) (annotate) - [select for diffs]
Fri Feb 26 03:38:17 2010 UTC (4 years, 1 month ago) by rtoy
Branch: intl-branch
CVS Tags: intl-branch-2010-03-18-1300
Changes since 1.148.2.6: +8 -8 lines
Diff to previous 1.148.2.6 , to branch point 1.148
Do translation of compiler-error messages in compiler-error.  Update
all calls to use _N instead of _.

Revision 1.149.2.1 - (view) (annotate) - [select for diffs]
Thu Feb 25 20:34:53 2010 UTC (4 years, 1 month ago) by rtoy
Branch: intl-2-branch
Changes since 1.149: +65 -71 lines
Diff to previous 1.149 , to next main 1.161
Restart internalization work.  This new branch starts with code from
the intl-branch on date 2010-02-12 18:00:00+0500.  This version works
and

LANG=en@piglatin bin/lisp

works (once the piglatin translation is added).

Revision 1.148.2.6 - (view) (annotate) - [select for diffs]
Thu Feb 25 04:35:40 2010 UTC (4 years, 1 month ago) by rtoy
Branch: intl-branch
Changes since 1.148.2.5: +5 -5 lines
Diff to previous 1.148.2.5 , to branch point 1.148
o Make COMPILER-WARNING do the string lookup instead of at each call
  site.
o Change all calls to COMPILER-WARNING to use _N" instead of _".

Revision 1.148.2.5 - (view) (annotate) - [select for diffs]
Thu Feb 25 00:33:12 2010 UTC (4 years, 1 month ago) by rtoy
Branch: intl-branch
Changes since 1.148.2.4: +1 -1 lines
Diff to previous 1.148.2.4 , to branch point 1.148
Merge changes from HEAD branch, 2010-02-24.

Revision 1.149 - (view) (annotate) - [select for diffs]
Mon Feb 15 16:34:42 2010 UTC (4 years, 2 months ago) by rtoy
Branch: MAIN
CVS Tags: intl-2-branch-base, snapshot-2010-03
Branch point for: intl-2-branch
Changes since 1.148: +12 -2 lines
Diff to previous 1.148
Fix from Helmut Eller for a bug mentioned by Madhu on cmucl-imp,
2010/02/14:

$ echo '(compile nil (lambda (x) x))' > foo.lisp
$ lisp -noinit
* (compile-file "foo.lisp")
* (load *)

causes an error.

Revision 1.148.2.4 - (view) (annotate) - [select for diffs]
Mon Feb 15 15:14:00 2010 UTC (4 years, 2 months ago) by rtoy
Branch: intl-branch
CVS Tags: intl-branch-working-2010-02-19-1000
Changes since 1.148.2.3: +12 -2 lines
Diff to previous 1.148.2.3 , to branch point 1.148
Fix from Helmut Eller for a bug mentioned by Madhu on cmucl-imp,
2010/02/14:

$ echo '(compile nil (lambda (x) x))' > foo.lisp
$ lisp -noinit
* (compile-file "foo.lisp")
* (load *)

causes an error.

Revision 1.148.2.3 - (view) (annotate) - [select for diffs]
Thu Feb 11 02:19:58 2010 UTC (4 years, 2 months ago) by rtoy
Branch: intl-branch
CVS Tags: intl-branch-working-2010-02-11-1000
Changes since 1.148.2.2: +58 -58 lines
Diff to previous 1.148.2.2 , to branch point 1.148
Mark translatable strings; regenerate cmucl.pot and ko/cmucl.po
accordingly.

Revision 1.148.2.2 - (view) (annotate) - [select for diffs]
Mon Feb 8 17:15:50 2010 UTC (4 years, 2 months ago) by rtoy
Branch: intl-branch
Changes since 1.148.2.1: +3 -1 lines
Diff to previous 1.148.2.1 , to branch point 1.148
Add (intl:textdomain "cmucl") to the files to set the textdomain.

Revision 1.148.2.1 - (view) (annotate) - [select for diffs]
Mon Feb 8 02:53:00 2010 UTC (4 years, 2 months ago) by rtoy
Branch: intl-branch
Changes since 1.148: +5 -3 lines
Diff to previous 1.148
code/lispinit.lisp:
o Set intl::*default-domain* to NIL.

code/load.lisp:
o Bind intl::*default-domain* so loading a file will reset the domain
  appropriately.

compiler/main.lisp:
o Bind intl::*default-domain* so compiling a file will reset the
  domain appropriately.

Revision 1.148 - (view) (annotate) - [select for diffs]
Fri Jan 22 06:17:13 2010 UTC (4 years, 2 months ago) by rtoy
Branch: MAIN
CVS Tags: intl-branch-base, snapshot-2010-02
Branch point for: intl-branch
Changes since 1.147: +5 -3 lines
Diff to previous 1.147
If a trace-file or error-file is specified, open the file with the
same external format used for reading the file.  This ensures that
these files will make sense if the source file makes sense for the
given external format.

Revision 1.147 - (view) (annotate) - [select for diffs]
Thu Jun 11 16:03:59 2009 UTC (4 years, 10 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_20a, amd64-dd-start, merged-unicode-utf16-extfmt-2009-06-11, portable-clx-base, portable-clx-import-2009-06-16, release-20a-base, release-20a-pre1, snapshot-2009-07, snapshot-2009-08, snapshot-2009-11, snapshot-2009-12, snapshot-2010-01, unicode-string-buffer-base, unicode-string-buffer-impl-base
Branch point for: RELEASE-20A-BRANCH, amd64-dd-branch, portable-clx-branch, unicode-string-buffer-branch, unicode-string-buffer-impl-branch
Changes since 1.146: +17 -8 lines
Diff to previous 1.146
Merge Unicode work to trunk.  From label
unicode-utf16-extfmt-2009-06-11.

Revision 1.146.14.1 - (view) (annotate) - [select for diffs]
Sun Jun 1 03:08:41 2008 UTC (5 years, 10 months ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-snapshot-2009-05, unicode-snapshot-2009-06, unicode-utf16-char-support-2009-03-25, unicode-utf16-char-support-2009-03-26, unicode-utf16-extfmt-2009-03-27, unicode-utf16-extfmt-2009-06-11, unicode-utf16-extfmts-pre-sync-2008-11, unicode-utf16-extfmts-sync-2008-12, unicode-utf16-sync-2008-07, unicode-utf16-sync-2008-09, unicode-utf16-sync-2008-11, unicode-utf16-sync-2008-12, unicode-utf16-sync-label-2009-03-16
Branch point for: unicode-utf16-extfmt-branch
Changes since 1.146: +17 -8 lines
Diff to previous 1.146 , to next main 1.161
First cut at supporting external-format for COMPILE-FILE.  Seems to
work.

o Add external-format slot to source-info so we can apply the desired
  external-format if a stream needs to be created.
o MAKE-FILE-SOURCE-INFO gets a second external-format arg.
o GET-SOURCE-STREAM will open the file with the specified external
  format.
o Pass the specified external format to make-file-source-info for
  compilation.

Revision 1.144.2.1 - (view) (annotate) - [select for diffs]
Mon Dec 19 01:09:59 2005 UTC (8 years, 3 months ago) by rtoy
Branch: ppc_gencgc_branch
CVS Tags: ppc_gencgc_snap_2005-12-17, ppc_gencgc_snap_2006-01-06
Changes since 1.144: +80 -22 lines
Diff to previous 1.144 , to next main 1.161
Merge code from main branch of 2005-12-17 to ppc gencgc branch.  Still
doesn't work of course.

Revision 1.146 - (view) (annotate) - [select for diffs]
Fri Jul 1 13:00:26 2005 UTC (8 years, 9 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_19f, double-double-array-base, double-double-array-checkpoint, double-double-base, double-double-init-%make-sparc, double-double-init-checkpoint-1, double-double-init-ppc, double-double-init-sparc, double-double-init-sparc-2, double-double-init-x86, double-double-irrat-end, double-double-irrat-start, double-double-reader-base, double-double-reader-checkpoint-1, double-double-sparc-checkpoint-1, label-2009-03-16, label-2009-03-25, merge-sse2-packed, merge-with-19f, pre-telent-clx, release-19c, release-19c-base, release-19c-pre1, release-19d, release-19d-base, release-19d-pre1, release-19d-pre2, release-19e, release-19e-base, release-19e-pre1, release-19e-pre2, release-19f-base, release-19f-pre1, snapshot-2005-07, snapshot-2005-08, snapshot-2005-09, snapshot-2005-10, snapshot-2005-11, snapshot-2005-12, snapshot-2006-01, snapshot-2006-02, snapshot-2006-03, snapshot-2006-04, snapshot-2006-05, snapshot-2006-06, snapshot-2006-07, snapshot-2006-08, snapshot-2006-09, snapshot-2006-10, snapshot-2006-11, snapshot-2006-12, snapshot-2007-01, snapshot-2007-02, snapshot-2007-03, snapshot-2007-04, snapshot-2007-05, snapshot-2007-06, snapshot-2007-07, snapshot-2007-08, snapshot-2007-09, snapshot-2007-10, snapshot-2007-11, snapshot-2007-12, snapshot-2008-01, snapshot-2008-02, snapshot-2008-03, snapshot-2008-04, snapshot-2008-05, snapshot-2008-06, snapshot-2008-07, snapshot-2008-08, snapshot-2008-09, snapshot-2008-10, snapshot-2008-11, snapshot-2008-12, snapshot-2009-01, snapshot-2009-02, snapshot-2009-04, snapshot-2009-05, sse2-base, sse2-checkpoint-2008-10-01, sse2-merge-with-2008-10, sse2-merge-with-2008-11, sse2-packed-2008-11-12, sse2-packed-base, unicode-utf16-base, unicode-utf16-string-support
Branch point for: RELEASE-19F-BRANCH, double-double-array-branch, double-double-branch, double-double-reader-branch, release-19c-branch, release-19d-branch, release-19e-branch, sse2-branch, sse2-packed-branch, unicode-utf16-branch
Changes since 1.145: +5 -3 lines
Diff to previous 1.145
Fix one missing place where a compiler message wasn't preceded by a
semicolon in some cases (usually load time value of something from
PCL).

Revision 1.145 - (view) (annotate) - [select for diffs]
Mon Jun 13 14:29:25 2005 UTC (8 years, 10 months ago) by rtoy
Branch: MAIN
Changes since 1.144: +76 -20 lines
Diff to previous 1.144
Save xref information to fasls.

This is done by faking it.  The file being compiled is compiled as
usual, but we append fake forms to the file as if they came from the
file.  These fake forms insert the necessary information into the xref
databases when the fasl is loaded.

To support this feature, we also updated COMPILE-FILE to recognize the
:xref keyword arg.  Set this to non-NIL to enable computing and saving
xref information.

code/exports.lisp:
o Update XREF exports

compiler/fndb.lisp:
o Update with new definition of COMPILE-FILE.

compiler/main.lisp:
o Append fake forms to the file being compiled to save xref
  information to the fasl.  This clears out any xref info we might
  have for the file, and inserts the necessary xref information into
  the database.
o Add :XREF keyword arg to COMPILE-FILE.  Default value of :XREF is
  C::*RECORD-XREF-INFO*.

compiler/xref.lisp:
o Add function to invalidate xref info for a given namestring, so we
  can reset the info when a fasl with xref info is loaded.
o Add a function to find all xref information for a given pathname.
  Used for saving xref info to a fasl.

Revision 1.144 - (view) (annotate) - [select for diffs]
Thu Dec 16 21:55:38 2004 UTC (9 years, 4 months ago) by rtoy
Branch: MAIN
CVS Tags: ppc_gencgc_snap_2005-05-14, release-19b-base, release-19b-pre1, release-19b-pre2, snapshot-2005-01, snapshot-2005-02, snapshot-2005-03, snapshot-2005-04, snapshot-2005-05, snapshot-2005-06
Branch point for: ppc_gencgc_branch, release-19b-branch
Changes since 1.143: +12 -7 lines
Diff to previous 1.143
Enable loop analysis code.  But the default is loop analysis is not
done, because we don't do anything with the loop results.

ir1util.lisp:
	o Make sure component initializes the outer-loop slot of the
	  component.

main.lisp:
	o Add defvar *loop-analyze*, defaulting to NIL.
	o Run loop analysis code when *loop-analyze* is T.

node.lisp:
	o Make the outer-loop slot of a component a required arg and
	  adjust the declared type appropriately.

represent.lisp:
	o Add ASSIGN-TN-DEPTHS function to assign loop depths to TNs.

vop.lisp:
	o Forgot to add the loop-depth slot for TNs.

Revision 1.143 - (view) (annotate) - [select for diffs]
Tue Oct 26 13:31:38 2004 UTC (9 years, 5 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2004-11, snapshot-2004-12
Changes since 1.142: +7 -8 lines
Diff to previous 1.142
Define a new condition class, COMPILER-READ-ERROR, a subtype of
COMPILER-ERROR, to allow slime better control of read errors.

Patch from Helmut Eller, cmucl-imp, 2004-10-25.

Revision 1.140.2.2 - (view) (annotate) - [select for diffs]
Mon May 10 20:38:04 2004 UTC (9 years, 11 months ago) by rtoy
Branch: release-19a-branch
CVS Tags: release-19a, release-19a-pre2, release-19a-pre3
Changes since 1.140.2.1: +12 -11 lines
Diff to previous 1.140.2.1 , to branch point 1.140 , to next main 1.161
Merge in typo fix from HEAD.

Revision 1.142 - (view) (annotate) - [select for diffs]
Mon May 10 20:05:18 2004 UTC (9 years, 11 months ago) by rtoy
Branch: MAIN
CVS Tags: amd64-merge-start, prm-before-macosx-merge-tag, snapshot-2004-06, snapshot-2004-07, snapshot-2004-08, snapshot-2004-09, snapshot-2004-10
Changes since 1.141: +11 -11 lines
Diff to previous 1.141
Fix typo with extra misplaced paren.

Revision 1.140.2.1 - (view) (annotate) - [select for diffs]
Mon May 10 17:12:18 2004 UTC (9 years, 11 months ago) by rtoy
Branch: release-19a-branch
Changes since 1.140: +11 -11 lines
Diff to previous 1.140
Merge in change from rev 1.141:

When compiling from a stream, the compiler can't use FILE-LENGTH on the
string-input-stream.

From Luke Gorrie.

Revision 1.141 - (view) (annotate) - [select for diffs]
Mon May 10 16:58:37 2004 UTC (9 years, 11 months ago) by emarsden
Branch: MAIN
Changes since 1.140: +11 -11 lines
Diff to previous 1.140
When compiling from a stream, the compiler can't use FILE-LENGTH on the
string-input-stream.

From Luke Gorrie.

Revision 1.140 - (view) (annotate) - [select for diffs]
Tue Apr 6 20:44:01 2004 UTC (10 years ago) by rtoy
Branch: MAIN
CVS Tags: release-19a-base, release-19a-pre1, snapshot-2004-05
Branch point for: release-19a-branch
Changes since 1.139: +7 -1 lines
Diff to previous 1.139
Add support for source location recording, from Helmut Eller on
cmucl-imp:

    The patch below adds a somewhat general mechanism to the get the
    "current location".  So every macro that wants to record the
    source location, can insert a call to SOURCE-LOCATION in the
    generated code and safe the result in a appropriate place.
    SOURCE-LOCATION is a compiler-macro and returns a quoted struct
    with the source info.

    The patch adds the definition for SOURCE-LOCATION some
    modifications for the defclass, defgeneric and defmethod macros.
    Classes, generic functions and methods have already a "source"
    slot and the result of SOURCE-LOCATION is just stored into that
    slot.  (The source slot contains currently only the *loadpath*,
    which is is not very useful, if the fasl file is in a different
    directory than the source file.)

Revision 1.139 - (view) (annotate) - [select for diffs]
Fri Jan 16 14:15:16 2004 UTC (10 years, 3 months ago) by toy
Branch: MAIN
CVS Tags: mod-arith-base, snapshot-2004-04
Branch point for: mod-arith-branch
Changes since 1.138: +2 -2 lines
Diff to previous 1.138
COMPILE-FILE needs to merge the given file with *default-pathname-defaults*.

Revision 1.138 - (view) (annotate) - [select for diffs]
Tue Dec 2 16:59:13 2003 UTC (10 years, 4 months ago) by toy
Branch: MAIN
Changes since 1.137: +9 -5 lines
Diff to previous 1.137
MACROLET can have declaration forms which we weren't allowing
previously.  Allow them.

Revision 1.137 - (view) (annotate) - [select for diffs]
Mon Aug 11 14:22:43 2003 UTC (10 years, 8 months ago) by gerd
Branch: MAIN
CVS Tags: dynamic-extent-base, lisp-executable-base, snapshot-2003-10, snapshot-2003-11, snapshot-2003-12, sparc_gencgc_merge
Branch point for: dynamic-extent, lisp-executable
Changes since 1.136: +8 -13 lines
Diff to previous 1.136
	* src/compiler/main.lisp (convert-and-maybe-compile): Don't
	frob bytes-consed-between-gcs.

	* src/compiler/alloc.lisp (defallocators) [#+gencgc]: Definition
	that doesn't do resourcing.

Revision 1.136 - (view) (annotate) - [select for diffs]
Tue Jul 15 10:24:06 2003 UTC (10 years, 9 months ago) by emarsden
Branch: MAIN
CVS Tags: sparc_gencgc
Branch point for: sparc_gencgc_branch
Changes since 1.135: +5 -5 lines
Diff to previous 1.135
Fix COMPILE-FILE-PATHNAME when *BYTE-COMPILE-DEFAULT* is enabled.

 (let ((ext:*byte-compile-default* t)) (compile-file-pathname "foo.lisp"))

was returning #p"foo.x86f", when it should return #p"foo.lbytef".

Revision 1.135 - (view) (annotate) - [select for diffs]
Mon May 12 16:30:42 2003 UTC (10 years, 11 months ago) by emarsden
Branch: MAIN
Changes since 1.134: +13 -9 lines
Diff to previous 1.134
Add package locks. Bootfile boot8.lisp allows this to build without
a cross-compile (or just select the CLOBBER-IT restart).

   - two extra PACKAGE-LOCK and PACKAGE-DEFINITION-LOCK slots added to
     the package structure. These can be modified using the
     EXT:PACKAGE-LOCK and EXT:PACKAGE-DEFINITION-LOCK accessors.

   - macro EXT:WITHOUT-PACKAGE-LOCKS that evaluates forms with all
     package locks disabled (this is done by binding the global
     variable CL::*ENABLE-PACKAGE-LOCKED-ERRORS*)

   - new PACKAGE-LOCKED-ERROR condition

   - in SETF-FDEFINITION-HOOK and in the DEFMACRO, DEFSTRUCT, DEFTYPE
     and DEFCLASS defining forms, check whether the definition would
     modify a package whose definition-lock is enabled, and signal a
     package-locked-error condition with restarts that allow you to
     unlock the package or ignore the lock

   - in EXPORT, UNEXPORT etc check whether the target package is
     guarded by a package-lock, and signal an error

   - disable package locks when loading a subsystem

   - disable package locks in certain areas of PCL and in the
     MAKE-LOAD-FORM support of the compiler, where code is generated
     inside system packages at runtime

Revision 1.134 - (view) (annotate) - [select for diffs]
Fri Apr 11 14:24:22 2003 UTC (11 years ago) by emarsden
Branch: MAIN
CVS Tags: remove_negative_zero_not_zero
Changes since 1.133: +3 -2 lines
Diff to previous 1.133
 * Change the way that the compiler searches for function names in the
   lexical environment to take into account generalized function names, and
   in particular inline declarations for FLET or LABELS functions. New
   function called FUNCTION-NAME-EQV-P that knows that a name like (FLET
   INNER OUTER) is equivalent to a name like INNER.

 * Include any context information in undefined-function warnings. Forms like

        (defun bogus (x)
          (declare (ftype (function (t) *) no-ftype))
            (flet ((foo (x) (random (1+ x))))
                (declare (inline almost-foo))
        	    (foo (+ x 1))))

   will now generate warnings of the form

      Warning: Undefined function almost-foo in an inline or notinline
      declaration

      Warning: Undefined function no-ftype in a function type declaration

Revision 1.133 - (view) (annotate) - [select for diffs]
Mon Mar 31 11:13:22 2003 UTC (11 years ago) by gerd
Branch: MAIN
Changes since 1.132: +3 -2 lines
Diff to previous 1.132
	Name local functions (FLET ...) or (LABELS ...).

	* compiler/ir1tran.lisp (*current-function-names*): New variable.
	(find-lexically-apparent-function): Use lexenv-find-function.
	(ir1-convert): Likewise.
	(ir1-convert-lambda): Bind *current-function-names*.
	(do-macrolet-stuff): Likewise.
	(extract-flet-variables): Determine function name from
	(%cleanup-function): Use lexenv-find-function.

	* compiler/main.lisp (compile): Bind *current-function-names*.

	* compiler/macros.lisp (lexenv-find-function): New function.

	* code/fdefinition.lisp (flet, labels): Define function names.

	* pcl/walk.lisp (environment-function): Activate code for
	handling flet/labels function names.

Revision 1.132.2.1 - (view) (annotate) - [select for diffs]
Sun Mar 9 13:03:50 2003 UTC (11 years, 1 month ago) by gerd
Branch: cold-pcl
Changes since 1.132: +12 -4 lines
Diff to previous 1.132 , to next main 1.161
*** empty log message ***

Revision 1.132 - (view) (annotate) - [select for diffs]
Wed Feb 5 19:32:21 2003 UTC (11 years, 2 months ago) by emarsden
Branch: MAIN
CVS Tags: cold-pcl-base, release-18e, release-18e-base, release-18e-pre1, release-18e-pre2
Branch point for: cold-pcl, release-18e-branch
Changes since 1.131: +14 -6 lines
Diff to previous 1.131
Added a cross-referencing facility to the compiler.

The new XREF package exports function WHO-CALLS, WHO-REFERENCES, WHO-BINDS
and WHO-SETS. These return structures of type XREF-CONTEXT, which contain
the name of the referencing context, the file it was referenced from (or NIL
when compiling from the toplevel), and the source-position in that file.

Also change the names of lambda nodes in IR1 for macros and compiler-macros
to be lists of the form

   (:macro macro-name)
   (:compiler-macro macro-name)

instead of strings of the form "DEFMACRO MACRO-NAME".

Documentation has been added to the User's Manual.

This change shouldn't cause any bootstrapping problems when building.

Revision 1.131 - (view) (annotate) - [select for diffs]
Tue Jan 21 16:51:09 2003 UTC (11 years, 2 months ago) by toy
Branch: MAIN
Changes since 1.130: +2 -1 lines
Diff to previous 1.130
From Eric Marsden:

    From a recent thread on comp.lang.lisp, it seems that CMUCL is non
    conforming in the way that it handles the coalescing of constants in
    the functions EVAL and COMPILE:

       Literal objects appearing in code processed by the compile
       function are neither copied nor coalesced. The code resulting
       from the execution of compile references objects that are eql
       to the corresponding objects in the source code.

Revision 1.130 - (view) (annotate) - [select for diffs]
Mon Jan 6 15:10:18 2003 UTC (11 years, 3 months ago) by toy
Branch: MAIN
Changes since 1.129: +12 -12 lines
Diff to previous 1.129
Precede compiler messages with a semi-colon.  Error messages don't
have the semi-colon prefix.

Revision 1.129 - (view) (annotate) - [select for diffs]
Tue Nov 19 12:55:02 2002 UTC (11 years, 4 months ago) by toy
Branch: MAIN
Changes since 1.128: +38 -44 lines
Diff to previous 1.128
o COMPILE-FILE-PATHNAME was returning the type of the input file for
  the output file when the output file didn't specify the type.  Based
  on a suggestion from Marco Antoniotti.
o Some clean up of the testing of the files.

Revision 1.128 - (view) (annotate) - [select for diffs]
Thu Nov 14 16:54:37 2002 UTC (11 years, 5 months ago) by toy
Branch: MAIN
Changes since 1.127: +12 -6 lines
Diff to previous 1.127
From Eric Marsden:

The attached patch contains mostly trivial changes, including a few
spelling corrections, plus changes to the types of condition raised in
various cases. The only significant change, I believe, is

  - MAKE-DISPATCH-MACRO-CHARACTER no longer raises an error if the
    character already was defined to be a macro character; it
    overrides the previous definition (as per a suggestion from Drew
    McDermott on cmucl-help, dated 2002-09-22).

Revision 1.127 - (view) (annotate) - [select for diffs]
Sun Aug 25 18:56:55 2002 UTC (11 years, 7 months ago) by toy
Branch: MAIN
CVS Tags: LINKAGE_TABLE, PRE_LINKAGE_TABLE, UNICODE-BASE
Branch point for: UNICODE-BRANCH
Changes since 1.126: +8 -5 lines
Diff to previous 1.126
We were not honoring compile-file-pathname when given a logical
pathname.  Make it so.

Revision 1.126 - (view) (annotate) - [select for diffs]
Mon Aug 12 16:08:14 2002 UTC (11 years, 8 months ago) by toy
Branch: MAIN
Changes since 1.125: +4 -3 lines
Diff to previous 1.125
From Eric Marsden (additional change in main.lisp noted by Christophe
Rhodes):

  * When you load or execute code that didn't compile correctly, you
    should get a PROGRAM-ERROR rather than a generic ERROR.

Revision 1.125 - (view) (annotate) - [select for diffs]
Fri Aug 9 21:21:15 2002 UTC (11 years, 8 months ago) by toy
Branch: MAIN
Changes since 1.124: +62 -15 lines
Diff to previous 1.124
From Marco Antoniotti:  compile-file-pathname now computes the
output-file name by merging the input-file name and the supplied
output-file name.

Minor modifications by RLT.

Revision 1.110.2.4 - (view) (annotate) - [select for diffs]
Sat Mar 23 18:50:24 2002 UTC (12 years ago) by pw
Branch: RELENG_18
CVS Tags: RELEASE_18d
Changes since 1.110.2.3: +37 -34 lines
Diff to previous 1.110.2.3 , to branch point 1.110 , to next main 1.161
Mega commit to bring RELENG_18 branch in sync with HEAD in preparation
for release tagging 18d.

Revision 1.124 - (view) (annotate) - [select for diffs]
Thu Mar 7 00:04:41 2002 UTC (12 years, 1 month ago) by pw
Branch: MAIN
Changes since 1.123: +3 -1 lines
Diff to previous 1.123
Add EXTERNAL-FORMAT keyword to COMPILE-FILE, and ignoring it.
Based on a patch by Eric Marsden.

Revision 1.123 - (view) (annotate) - [select for diffs]
Thu May 17 22:08:48 2001 UTC (12 years, 11 months ago) by pw
Branch: MAIN
Changes since 1.122: +16 -16 lines
Diff to previous 1.122
Fix COMPILE-FILE to run TRANSLATE-LOGICAL-PATHNAME on its output file spec
so that someone who goes through the trouble of defining a translation for
*.FASL will get a good result.

Revision 1.122 - (view) (annotate) - [select for diffs]
Tue Mar 13 15:58:26 2001 UTC (13 years, 1 month ago) by pw
Branch: MAIN
Changes since 1.121: +4 -4 lines
Diff to previous 1.121
Logical-pathname-p is no longer in the CL package so don't use it.

Revision 1.121 - (view) (annotate) - [select for diffs]
Sun Mar 4 20:12:23 2001 UTC (13 years, 1 month ago) by pw
Branch: MAIN
Changes since 1.120: +16 -16 lines
Diff to previous 1.120
Change most PROCLAIMs to DECLAIMs.

Revision 1.120 - (view) (annotate) - [select for diffs]
Thu Mar 1 21:45:36 2001 UTC (13 years, 1 month ago) by pw
Branch: MAIN
Changes since 1.119: +3 -2 lines
Diff to previous 1.119
This set of changes fixes EVAL-WHEN to work according to the ANSI spec.

Revision 1.110.2.3 - (view) (annotate) - [select for diffs]
Wed Aug 9 13:23:36 2000 UTC (13 years, 8 months ago) by dtc
Branch: RELENG_18
CVS Tags: RELEASE_18c
Changes since 1.110.2.2: +2 -2 lines
Diff to previous 1.110.2.2 , to branch point 1.110
Declare the use of the new variable *delayed-transforms* as special in
ir1-phases, avoiding bootstrapping issues.

Revision 1.119 - (view) (annotate) - [select for diffs]
Wed Aug 9 13:23:19 2000 UTC (13 years, 8 months ago) by dtc
Branch: MAIN
Changes since 1.118: +2 -2 lines
Diff to previous 1.118
Declare the use of the new variable *delayed-transforms* as special in
ir1-phases, avoiding bootstrapping issues.

Revision 1.110.2.2 - (view) (annotate) - [select for diffs]
Wed Aug 9 12:56:56 2000 UTC (13 years, 8 months ago) by dtc
Branch: RELENG_18
Changes since 1.110.2.1: +58 -48 lines
Diff to previous 1.110.2.1 , to branch point 1.110
Add the ability to delay IR1 transforms, giving type and constraint
propagation a chance before transforming to less amiable forms.
A transform may now choose to be delayed by calling delay-transform
giving a reason. The two supported reasons are :optimize to delay
until IR1 optimization has completed, and :constraint to delay until
after constraint propagation.

Revision 1.118 - (view) (annotate) - [select for diffs]
Wed Aug 9 12:56:40 2000 UTC (13 years, 8 months ago) by dtc
Branch: MAIN
Changes since 1.117: +58 -48 lines
Diff to previous 1.117
Add the ability to delay IR1 transforms, giving type and constraint
propagation a chance before transforming to less amiable forms.
A transform may now choose to be delayed by calling delay-transform
giving a reason. The two supported reasons are :optimize to delay
until IR1 optimization has completed, and :constraint to delay until
after constraint propagation.

Revision 1.110.2.1 - (view) (annotate) - [select for diffs]
Tue May 23 16:37:20 2000 UTC (13 years, 10 months ago) by pw
Branch: RELENG_18
Changes since 1.110: +60 -84 lines
Diff to previous 1.110
This set of revisions brings the RELENG_18 branch up to HEAD in preparation
for an 18c release.

Revision 1.117 - (view) (annotate) - [select for diffs]
Tue May 23 05:45:32 2000 UTC (13 years, 10 months ago) by dtc
Branch: MAIN
Changes since 1.116: +2 -2 lines
Diff to previous 1.116
Add %defpackage to the magic top-level forms handled by process-form
so that the package definition is not delayed; fixes a problem noted
by Sam Steingold.

Revision 1.116 - (view) (annotate) - [select for diffs]
Thu Apr 6 11:05:53 2000 UTC (14 years ago) by pw
Branch: MAIN
Changes since 1.115: +1 -1 lines
Diff to previous 1.115
Backout previous revision. Mr Mai advises his previous patch was
incorrect in that the observed problem was caused by inappropriate
condition types in other places (at least partly fixed by revisions
to ir1tran and ir1util on 2/28/00).

Revision 1.115 - (view) (annotate) - [select for diffs]
Wed Apr 5 17:27:01 2000 UTC (14 years ago) by pw
Branch: MAIN
Changes since 1.114: +2 -2 lines
Diff to previous 1.114
Return proper ANSI specified values from compile-file depending on
error-severity. From Pierre Mai via Ray Toy.

Revision 1.114 - (view) (annotate) - [select for diffs]
Thu Nov 25 16:03:43 1999 UTC (14 years, 4 months ago) by dtc
Branch: MAIN
Changes since 1.113: +3 -2 lines
Diff to previous 1.113
For support of compiler reentry and thread safety, avoid the use of
the global special *elsewhere-label* by dynamically binding
*elsewhere-label* in native-compile-component, otherwise
label-elsewhere-p breaks if code generation is reentered while code
dumping is still in progress.

Revision 1.113 - (view) (annotate) - [select for diffs]
Thu Nov 25 15:57:39 1999 UTC (14 years, 4 months ago) by dtc
Branch: MAIN
Changes since 1.112: +51 -49 lines
Diff to previous 1.112
For support of compiler reentry and thread safety, avoid the use of
global tables and counters for the continuation, TN, and label debug
IDs; rather dynamically bind new tables and counters in the functions
compiler and sub-compiler-file with the aid of the new macro
with-debug-counters.

Revision 1.112 - (view) (annotate) - [select for diffs]
Thu Nov 25 15:54:22 1999 UTC (14 years, 4 months ago) by dtc
Branch: MAIN
Changes since 1.111: +1 -7 lines
Diff to previous 1.111
For support of compiler reentry and thread safety, avoid the use of
the following global tables for compiler debug code by dynamically
binding newly allocated tables when necessary: *seen-blocks*,
*seen-functions*, and *list-conflicts-table*.

Revision 1.111 - (view) (annotate) - [select for diffs]
Thu Feb 25 13:03:10 1999 UTC (15 years, 1 month ago) by pw
Branch: MAIN
Changes since 1.110: +7 -28 lines
Diff to previous 1.110
This set of changes removes nearly all references to the dylan language.
It is a benign revision as no structures are redefined. At some later
point the definitions in compiler/objdef could be removed, perhaps
in sync with some other type change.

Revision 1.110 - (view) (annotate) - [select for diffs]
Sat Feb 15 15:32:49 1997 UTC (17 years, 2 months ago) by pw
Branch: MAIN
CVS Tags: RELEASE_18a, RELEASE_18b
Branch point for: RELENG_18
Changes since 1.109: +22 -18 lines
Diff to previous 1.109
/tmp/msg

Revision 1.109 - (view) (annotate) - [select for diffs]
Wed Feb 5 15:41:53 1997 UTC (17 years, 2 months ago) by pw
Branch: MAIN
Changes since 1.108: +41 -33 lines
Diff to previous 1.108
initial post 1.3.7 merge

Revision 1.108 - (view) (annotate) - [select for diffs]
Sat Jan 18 14:31:32 1997 UTC (17 years, 3 months ago) by ram
Branch: MAIN
Changes since 1.107: +5 -3 lines
Diff to previous 1.107
Werkowskis source kit 1.03.7

Revision 1.107 - (view) (annotate) - [select for diffs]
Mon Oct 31 04:27:28 1994 UTC (19 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.106: +1 -3 lines
Diff to previous 1.106
Fix headed boilerplate.

Revision 1.106 - (view) (annotate) - [select for diffs]
Wed Oct 5 16:30:19 1994 UTC (19 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105
Fix loop syntax.

Revision 1.105 - (view) (annotate) - [select for diffs]
Fri Sep 30 01:42:13 1994 UTC (19 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.104: +17 -7 lines
Diff to previous 1.104
Fixed last tweak to block compilation to actually work in the normal case.

Revision 1.104 - (view) (annotate) - [select for diffs]
Sun Aug 21 15:19:19 1994 UTC (19 years, 7 months ago) by ram
Branch: MAIN
Changes since 1.103: +5 -6 lines
Diff to previous 1.103
If compile-file is :block-compile T, then ignore start-block/end-block
declarations.

Revision 1.103 - (view) (annotate) - [select for diffs]
Sat Feb 12 09:38:52 1994 UTC (20 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.102: +4 -6 lines
Diff to previous 1.102
Delete :conservative arg to BYTE-COMPILE, since it is to damn conservative
(basically always returns T.)

Revision 1.102 - (view) (annotate) - [select for diffs]
Fri Feb 11 15:09:39 1994 UTC (20 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.101: +7 -4 lines
Diff to previous 1.101
Add :CONSERVATIVE option to BYTE-COMPILING.  Also, always return T when
:BYTE-COMPILE T was specified.

Revision 1.101 - (view) (annotate) - [select for diffs]
Thu Feb 10 23:20:53 1994 UTC (20 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.100: +23 -1 lines
Diff to previous 1.100
Add DELETE-IF-NO-ENTRIES to blow away components that can't be reached before
we try to generate IR2.  This avoids some internal errors when unreachable
local functions are deleted.

Revision 1.100 - (view) (annotate) - [select for diffs]
Wed Jan 5 16:33:44 1994 UTC (20 years, 3 months ago) by ram
Branch: MAIN
Changes since 1.99: +4 -2 lines
Diff to previous 1.99
Call local-call-analyze whenever there's new-functions.  This got lost
when component-reanalyze-functions was added.

Revision 1.99 - (view) (annotate) - [select for diffs]
Mon Aug 30 10:39:13 1993 UTC (20 years, 7 months ago) by ram
Branch: MAIN
Changes since 1.98: +16 -12 lines
Diff to previous 1.98
Moved forcing out of pending top-level forms from COMPILE-LOAD-TIME-STUFF to
EMIT-MAKE-LOAD-FORM, and check if the constant was dumped by top-level code
before proceeding.  We were getting spurious recursive constant errors when
top-level code referred to the same constant as a following definition.

Revision 1.98 - (view) (annotate) - [select for diffs]
Tue Aug 24 02:12:21 1993 UTC (20 years, 7 months ago) by wlott
Branch: MAIN
Changes since 1.97: +4 -2 lines
Diff to previous 1.97
Added a hack to keep the compiler from coalescing constants when compiling
dylan code, because the dylan test suite modifies manifest constants.  This
is gross.

Revision 1.97 - (view) (annotate) - [select for diffs]
Fri Aug 20 00:18:29 1993 UTC (20 years, 8 months ago) by ram
Branch: MAIN
Changes since 1.96: +1 -4 lines
Diff to previous 1.96
Flushed call to count-vops (static statistics), since it doesn't work anymore,
and isn't loaded.

Revision 1.96 - (view) (annotate) - [select for diffs]
Wed Aug 18 16:52:46 1993 UTC (20 years, 8 months ago) by wlott
Branch: MAIN
Changes since 1.95: +55 -56 lines
Diff to previous 1.95
Changed around to use the new dylan parser.  Changed verify-source-files to
also look for files with a .dylan extension.

Revision 1.95 - (view) (annotate) - [select for diffs]
Thu Aug 5 17:11:20 1993 UTC (20 years, 8 months ago) by ram
Branch: MAIN
Changes since 1.94: +1 -2 lines
Diff to previous 1.94
Flushed call to scrub-control-stack, since doing it every form
was taking a measurable amount of time.

Revision 1.94 - (view) (annotate) - [select for diffs]
Tue Aug 3 12:58:13 1993 UTC (20 years, 8 months ago) by ram
Branch: MAIN
Changes since 1.93: +2 -2 lines
Diff to previous 1.93
fix stuff.

Revision 1.93 - (view) (annotate) - [select for diffs]
Tue Aug 3 10:55:12 1993 UTC (20 years, 8 months ago) by ram
Branch: MAIN
Changes since 1.92: +9 -10 lines
Diff to previous 1.92
Changed file-info-name and untruename to be pathnames rather than namestrings.
This avoids some spurious parsing and (in the case of untruename) preserves
logical pathnames.

Revision 1.92 - (view) (annotate) - [select for diffs]
Sat Jul 31 14:34:01 1993 UTC (20 years, 8 months ago) by ram
Branch: MAIN
Changes since 1.91: +3 -2 lines
Diff to previous 1.91
Actually pass the byte-p argument to open-fasl-file so that it really does
use the machine-independent byte-code fasl file implementation.

Revision 1.91 - (view) (annotate) - [select for diffs]
Sat Jul 31 02:10:21 1993 UTC (20 years, 8 months ago) by ram
Branch: MAIN
Changes since 1.90: +26 -4 lines
Diff to previous 1.90
Add COMPILE-FILE-PATHNAME function.

Revision 1.90 - (view) (annotate) - [select for diffs]
Sun Jul 25 21:25:43 1993 UTC (20 years, 8 months ago) by ram
Branch: MAIN
Changes since 1.89: +32 -31 lines
Diff to previous 1.89
Bind compiler-warning-handler around compiler-warning calls in PRINT-SUMMARY so
that source context will be printed for undefined warnings.

Revision 1.89 - (view) (annotate) - [select for diffs]
Thu Jul 22 11:17:54 1993 UTC (20 years, 8 months ago) by wlott
Branch: MAIN
Changes since 1.88: +4 -2 lines
Diff to previous 1.88
Bind *error-output* to *compile-error-output* around the call to
dylan::convert-top-level.

Revision 1.88 - (view) (annotate) - [select for diffs]
Thu Jul 22 08:42:43 1993 UTC (20 years, 8 months ago) by wlott
Branch: MAIN
Changes since 1.87: +44 -23 lines
Diff to previous 1.87
Added stuff to allow compile-file and compile-from-stream to be used to
compile dylan code.  (Assuming you have the dylan to common-lisp converter
loaded.)

Revision 1.87 - (view) (annotate) - [select for diffs]
Sat May 15 18:27:03 1993 UTC (20 years, 11 months ago) by ram
Branch: MAIN
Changes since 1.86: +10 -10 lines
Diff to previous 1.86
Moved compilation of top-level forms in compile-top-level inside binding of
*byte-compile* so that this compilation is affected.

Revision 1.86 - (view) (annotate) - [select for diffs]
Thu May 13 11:37:13 1993 UTC (20 years, 11 months ago) by ram
Branch: MAIN
Changes since 1.85: +16 -9 lines
Diff to previous 1.85
If any top-level vars are closed over, and *byte-compile* is :maybe, then
choose native compilation for everything.  This ensures that we won't reference
a native closure in a byte-compiled top-level form, or vice-versa.

Revision 1.85 - (view) (annotate) - [select for diffs]
Wed May 12 11:30:52 1993 UTC (20 years, 11 months ago) by ram
Branch: MAIN
Changes since 1.84: +2 -1 lines
Diff to previous 1.84
paren lossage

Revision 1.84 - (view) (annotate) - [select for diffs]
Wed May 12 11:26:35 1993 UTC (20 years, 11 months ago) by ram
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83
byte-compile always returns nil if :byte-compile nil is specified.

Revision 1.83 - (view) (annotate) - [select for diffs]
Wed May 12 11:22:48 1993 UTC (20 years, 11 months ago) by ram
Branch: MAIN
Changes since 1.82: +18 -5 lines
Diff to previous 1.82
Add (byte-compiling) function.

Revision 1.82 - (view) (annotate) - [select for diffs]
Tue May 11 14:05:27 1993 UTC (20 years, 11 months ago) by ram
Branch: MAIN
Changes since 1.81: +70 -36 lines
Diff to previous 1.81
Added support for :BYTE-COMPILE argument to compile-file.  If T, we
byte-compile everything and create a machine-independent fasl file (dependent
only on byte order.)  If :MAYBE (the default, from ext:*byte-compile-default*),
things are byte-compiled when speed = 0 and debug <= 1.  Top-level forms are
byte-compiled by default (controlled by ext:*byte-compile-top-level*.)
Split IR2 trace-file dumping off from DESCRIBE-COMPONENT so that different
back-ends can do different things.

Revision 1.81 - (view) (annotate) - [select for diffs]
Sat May 8 00:43:55 1993 UTC (20 years, 11 months ago) by ram
Branch: MAIN
Changes since 1.80: +12 -15 lines
Diff to previous 1.80
Have to clear the constant info between compiling each byte-component too.

Revision 1.80 - (view) (annotate) - [select for diffs]
Fri Mar 12 15:14:35 1993 UTC (21 years, 1 month ago) by hallgren
Branch: MAIN
Changes since 1.79: +1 -4 lines
Diff to previous 1.79
Take out call to SETUP-DYNAMIC-COUNT-INFO since it's handled differently now.

Revision 1.79 - (view) (annotate) - [select for diffs]
Fri Feb 26 08:38:58 1993 UTC (21 years, 1 month ago) by ram
Branch: MAIN
Changes since 1.78: +4 -1 lines
Diff to previous 1.78
new structure branch & tuning, see new_struct

Revision 1.78.1.1 - (view) (annotate) - [select for diffs] (vendor branch)
Sat Feb 13 15:49:34 1993 UTC (21 years, 2 months ago) by ram
Branch: new_struct
Changes since 1.78: +4 -1 lines
Diff to previous 1.78 , to next main 1.161
new structure hax.


Revision 1.56.1.2 - (view) (annotate) - [select for diffs] (vendor branch)
Thu Dec 17 20:36:44 1992 UTC (21 years, 4 months ago) by ram
Branch: patch_16
Changes since 1.56.1.1: +7 -5 lines
Diff to previous 1.56.1.1 , to next main 1.161
Merge change to bind *gensym-counter*

Revision 1.78 - (view) (annotate) - [select for diffs]
Wed Nov 25 10:32:29 1992 UTC (21 years, 4 months ago) by wlott
Branch: MAIN
Branch point for: new_struct
Changes since 1.77: +7 -5 lines
Diff to previous 1.77
Bind *gensym-counter* so that it doesn't get side effected.

Revision 1.77 - (view) (annotate) - [select for diffs]
Wed Nov 18 23:33:54 1992 UTC (21 years, 5 months ago) by wlott
Branch: MAIN
Changes since 1.76: +3 -2 lines
Diff to previous 1.76
Only try to generate a disassembly when making a trace file if the
disassembler has been set up for the backend we are using.

Revision 1.76 - (view) (annotate) - [select for diffs]
Wed Sep 23 17:09:48 1992 UTC (21 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.75: +6 -2 lines
Diff to previous 1.75
Merged William's change to load-time-value to not include make-value-cell
in the name.

Revision 1.75 - (view) (annotate) - [select for diffs]
Wed Sep 23 17:05:30 1992 UTC (21 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.74: +8 -5 lines
Diff to previous 1.74
Don't compile load-time-value lambdas if they've already been compiled
because they ended up in a non-top-level component.

Revision 1.74 - (view) (annotate) - [select for diffs]
Tue Sep 22 00:06:14 1992 UTC (21 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.73: +6 -2 lines
Diff to previous 1.73
Call LOCAL-CALL-ANALYZE in IR1-PHASES if there are functions to be reanalyzed.

Revision 1.73 - (view) (annotate) - [select for diffs]
Thu Sep 10 19:57:06 1992 UTC (21 years, 7 months ago) by hallgren
Branch: MAIN
Changes since 1.72: +4 -4 lines
Diff to previous 1.72
Corrected spelling of call to disassem:disassemble-assem-block.   There is 
no 's' on the end.

Revision 1.72 - (view) (annotate) - [select for diffs]
Tue Sep 8 16:29:03 1992 UTC (21 years, 7 months ago) by hallgren
Branch: MAIN
Changes since 1.71: +4 -4 lines
Diff to previous 1.71
Changed the call disassem:disassemble-blocks to
disassem:disassemble-assem-segment to go along with the changes in
disassem.lisp.

Revision 1.71 - (view) (annotate) - [select for diffs]
Mon Sep 7 16:05:55 1992 UTC (21 years, 7 months ago) by ram
Branch: MAIN
Changes since 1.70: +9 -11 lines
Diff to previous 1.70
Flushed *failed-optimizations*.
Don't run the back-end(s) on components with no code.
Don't need to use SUBSTITUTE-LEAF-IF in COMPILE anymore, since notinline
references will be to a different leaf

Revision 1.70 - (view) (annotate) - [select for diffs]
Mon Aug 3 12:36:11 1992 UTC (21 years, 8 months ago) by wlott
Branch: MAIN
Changes since 1.69: +6 -17 lines
Diff to previous 1.69
Removed traces of the old assembler.

Revision 1.69 - (view) (annotate) - [select for diffs]
Sun Aug 2 19:40:14 1992 UTC (21 years, 8 months ago) by ram
Branch: MAIN
Changes since 1.68: +6 -3 lines
Diff to previous 1.68
Byte compile if :MAYBE and SPACE or CSPEED is 3.

Revision 1.68 - (view) (annotate) - [select for diffs]
Thu Jul 30 13:24:54 1992 UTC (21 years, 8 months ago) by hallgren
Branch: MAIN
Changes since 1.67: +9 -1 lines
Diff to previous 1.67
Changed NATIVE-COMPILE-COMPONENT to output the disassembly to the trace file
when using new-assem.

Revision 1.67 - (view) (annotate) - [select for diffs]
Tue Jul 28 20:23:02 1992 UTC (21 years, 8 months ago) by wlott
Branch: MAIN
Changes since 1.66: +4 -4 lines
Diff to previous 1.66
Moved the (compiler-mumble "~&") from native-compile-component to compile-
component, so it happens when byte compiling also.

Revision 1.66 - (view) (annotate) - [select for diffs]
Wed Jul 22 22:48:08 1992 UTC (21 years, 8 months ago) by wlott
Branch: MAIN
Changes since 1.65: +16 -7 lines
Diff to previous 1.65
Bind *byte-compiling* to T and print ``Byte Compiling'' when we are byte
compiling.

Revision 1.65 - (view) (annotate) - [select for diffs]
Sat Jul 11 02:11:20 1992 UTC (21 years, 9 months ago) by wlott
Branch: MAIN
Changes since 1.64: +3 -2 lines
Diff to previous 1.64
Added new-assembler in-core compilation support.

Revision 1.64 - (view) (annotate) - [select for diffs]
Fri Jun 12 04:38:25 1992 UTC (21 years, 10 months ago) by wlott
Branch: MAIN
Changes since 1.63: +6 -10 lines
Diff to previous 1.63
Changed to bind *features* to (backend-features *target-backend*) just
before doing the read instead of binding *features* to (backend-features
*backend*) for the duration of the compile.  This way, the compiler can use
(backend-featurep :foo) to tell how to compile, and cross compilers can be
compiled correctly with respect to #+foo.

Revision 1.56.1.1 - (view) (annotate) - [select for diffs] (vendor branch)
Tue May 26 23:57:31 1992 UTC (21 years, 10 months ago) by ram
Branch: patch_16
Changes since 1.56: +6 -1 lines
Diff to previous 1.56
Pick up new herald.

Revision 1.63 - (view) (annotate) - [select for diffs]
Mon May 25 21:37:48 1992 UTC (21 years, 10 months ago) by ram
Branch: MAIN
Changes since 1.62: +6 -1 lines
Diff to previous 1.62
Set up herald to display the version.

Revision 1.62 - (view) (annotate) - [select for diffs]
Mon May 18 17:55:53 1992 UTC (21 years, 11 months ago) by wlott
Branch: MAIN
Changes since 1.61: +78 -68 lines
Diff to previous 1.61
Added noise to dispatch between using the old assembler and the new
assembler.

Revision 1.61 - (view) (annotate) - [select for diffs]
Sat May 16 23:51:19 1992 UTC (21 years, 11 months ago) by wlott
Branch: MAIN
Changes since 1.60: +4 -6 lines
Diff to previous 1.60
Compile and dump cold-load forms before evaluating them, so they are dumped
with respect to the state of the package system before the form was read,
not after.

Revision 1.60 - (view) (annotate) - [select for diffs]
Sat May 16 01:11:07 1992 UTC (21 years, 11 months ago) by wlott
Branch: MAIN
Changes since 1.59: +5 -4 lines
Diff to previous 1.59
Eval %in-package directly instead of expecting the eval-when to work,
because it doesn't.

Revision 1.59 - (view) (annotate) - [select for diffs]
Fri May 15 17:39:00 1992 UTC (21 years, 11 months ago) by wlott
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58
Don't special case IN-PACKAGE, because it's now a macro.  Instead, special
case OLD-IN-PACKAGE and %IN-PACKAGE.  The IN-PACKAGE macro looks at its
arguments and picks the correct one to expand into.

Revision 1.58 - (view) (annotate) - [select for diffs]
Tue Apr 21 04:13:53 1992 UTC (22 years ago) by wlott
Branch: MAIN
Changes since 1.57: +16 -14 lines
Diff to previous 1.57
Changed describe-component to check the type of (component-info component)
instead of assuming that it's going to be an ir2-component.
Pass #'make-ir2-block to control-analyze in native-compile-component now
that control-analyze takes the constructor function as an argument instead
of assuming it should make ir2-blocks.

Revision 1.57 - (view) (annotate) - [select for diffs]
Tue Apr 14 03:01:50 1992 UTC (22 years ago) by wlott
Branch: MAIN
Changes since 1.56: +42 -25 lines
Diff to previous 1.56
Added dispatching in compile-component on *byte-compile*.

Revision 1.56 - (view) (annotate) - [select for diffs]
Sun Mar 29 21:38:28 1992 UTC (22 years ago) by wlott
Branch: MAIN
Branch point for: patch_16
Changes since 1.55: +14 -15 lines
Diff to previous 1.55
Changed CONVERT-AND-MAYBE-COMPILE to temporarily increate *bytes-consed-
between-gcs* by a factor of 4 instead of turning off all garbage
collection.

Revision 1.55 - (view) (annotate) - [select for diffs]
Mon Mar 23 14:47:59 1992 UTC (22 years ago) by wlott
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54
Fixed syntax error in defstruct file-info found by new parsing code.

Revision 1.54 - (view) (annotate) - [select for diffs]
Tue Feb 25 07:16:15 1992 UTC (22 years, 1 month ago) by wlott
Branch: MAIN
Changes since 1.53: +8 -2 lines
Diff to previous 1.53
Also bind *features* to the value from the backend during a compile.

Revision 1.53 - (view) (annotate) - [select for diffs]
Fri Feb 21 18:41:12 1992 UTC (22 years, 1 month ago) by ram
Branch: MAIN
Changes since 1.52: +1 -2 lines
Diff to previous 1.52
Put back my !#$^% fix to PRINT-SUMMARY.

Revision 1.52 - (view) (annotate) - [select for diffs]
Fri Feb 14 23:47:26 1992 UTC (22 years, 2 months ago) by wlott
Branch: MAIN
Changes since 1.51: +8 -6 lines
Diff to previous 1.51
Merged new-alien changes onto trunk.

Revision 1.51.1.1 - (view) (annotate) - [select for diffs] (vendor branch)
Thu Feb 13 20:59:25 1992 UTC (22 years, 2 months ago) by wlott
Changes since 1.51: +8 -6 lines
Diff to previous 1.51 , to next main 1.161
New alien changes.

Revision 1.51 - (view) (annotate) - [select for diffs]
Wed Feb 12 17:39:51 1992 UTC (22 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.50: +1 -2 lines
Diff to previous 1.50
Print a error summary even when *compile-verbose* is false.  (This is only
printed when there are errors, so this doesn't seem a violation of the spirit
of the spec.)

Revision 1.50 - (view) (annotate) - [select for diffs]
Sun Dec 22 02:00:36 1991 UTC (22 years, 3 months ago) by ram
Branch: MAIN
Changes since 1.49: +7 -4 lines
Diff to previous 1.49
In COMPILE-FILE use PATHNAME of the output stream rather than TRUENAME of the
output-file.  It seems that sometimes the file doesn't appear in the file
system until some time after we close the file.

Revision 1.49 - (view) (annotate) - [select for diffs]
Sat Dec 14 18:12:52 1991 UTC (22 years, 4 months ago) by wlott
Branch: MAIN
Changes since 1.48: +63 -49 lines
Diff to previous 1.48
Changed file-infos to hold namestrings instead of pathnames so they are
easier to dump.  Changed emit-make-load-forms to deal with the fact that
structures have to be explicitly okayed.

Revision 1.48 - (view) (annotate) - [select for diffs]
Wed Dec 11 17:20:12 1991 UTC (22 years, 4 months ago) by ram
Branch: MAIN
Changes since 1.47: +2 -1 lines
Diff to previous 1.47
Added a call to DFO-AS-NEEDED immediately before control analysis so 
that all blocks have a NUMBER.

Revision 1.47 - (view) (annotate) - [select for diffs]
Mon Nov 25 12:07:18 1991 UTC (22 years, 4 months ago) by wlott
Branch: MAIN
Changes since 1.46: +260 -91 lines
Diff to previous 1.46
Added load-time-value and make-load-form support.  Also removed
#+new-compiler conditionals.

Revision 1.46 - (view) (annotate) - [select for diffs]
Wed Nov 13 19:34:18 1991 UTC (22 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.45: +33 -21 lines
Diff to previous 1.45
Added DFO-AS-NEEDED, which iterates calling FIND-DFO as many times as is
necessary to delete all unreachable code.  Also, added some ~&'s that improve
readability when *compile-progress* is T.

Revision 1.45 - (view) (annotate) - [select for diffs]
Fri Nov 8 15:28:02 1991 UTC (22 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.44: +4 -1 lines
Diff to previous 1.44
If environment analysis trashes the DFO (i.e. by inserting cleanup code)
then recompute it.

Revision 1.44 - (view) (annotate) - [select for diffs]
Sun Aug 25 18:11:12 1991 UTC (22 years, 7 months ago) by ram
Branch: MAIN
Changes since 1.43: +6 -2 lines
Diff to previous 1.43
Added call to CHECK-PACK-CONSISTENCY, updated call to DUMP-SEGMENT.

Revision 1.43 - (view) (annotate) - [select for diffs]
Tue Jul 9 14:02:16 1991 UTC (22 years, 9 months ago) by ram
Branch: MAIN
Changes since 1.42: +3 -2 lines
Diff to previous 1.42
Fixed COMPILE-FILE doc string to say that the :ERROR-FILE default is NIL.

Revision 1.42 - (view) (annotate) - [select for diffs]
Sat Jun 15 17:34:16 1991 UTC (22 years, 10 months ago) by chiles
Branch: MAIN
Changes since 1.41: +47 -48 lines
Diff to previous 1.41
Made the default for COMPILE-FILE's :error-file argument be nil.  It is a dated
notion and never desired to expect compilation to defaultly produce an error
output file.  You always compile in the editor catching the output or in a
system building utility that saves all the compiler's output.

Removed the conditional compilation stuff to define NCOMPILE-FILE since we no
longer need that for bringing up new ports.

Revision 1.41 - (view) (annotate) - [select for diffs]
Fri Jun 7 15:17:54 1991 UTC (22 years, 10 months ago) by ram
Branch: MAIN
Changes since 1.40: +2 -1 lines
Diff to previous 1.40
Bind *block-compile* to NIL in COMPILE.

Revision 1.40 - (view) (annotate) - [select for diffs]
Mon May 6 14:58:50 1991 UTC (22 years, 11 months ago) by ram
Branch: MAIN
Changes since 1.39: +15 -11 lines
Diff to previous 1.39
Changed block compilation stuff to ignore block declarations if
block-compile is  NIL.

Revision 1.39 - (view) (annotate) - [select for diffs]
Sat Apr 20 14:12:49 1991 UTC (23 years ago) by ram
Branch: MAIN
Changes since 1.38: +29 -17 lines
Diff to previous 1.38
Treat the interface cookie pretty much the same as the ordinary one.
Also, changed CONVERT-AND-MAYBE-COMPILE to use WITHOUT-GCING instead
of calling MAYBE-GC.  This way, you don't need to load 
no-auto-gc (and had better not, or you will never GC.)

Revision 1.38 - (view) (annotate) - [select for diffs]
Tue Apr 9 23:34:28 1991 UTC (23 years ago) by ram
Branch: MAIN
Changes since 1.37: +11 -9 lines
Diff to previous 1.37
Made the proxy form for a compile time read error be a CERROR rather than an
ERROR.  Changed PROCESS-FORM to dump calls to ERROR, CERROR or BREAK as cold
load forms, so that we discover this lossage at genesis time.

Revision 1.37 - (view) (annotate) - [select for diffs]
Thu Apr 4 14:31:45 1991 UTC (23 years ago) by ram
Branch: MAIN
Changes since 1.36: +7 -1 lines
Diff to previous 1.36
Added :VERBOSE, :PRINT and :PROGRESS keywords to COMPILE-FILE and
COMPILE-FROM-STREAM.

Revision 1.36 - (view) (annotate) - [select for diffs]
Thu Apr 4 14:13:36 1991 UTC (23 years ago) by ram
Branch: MAIN
Changes since 1.35: +226 -93 lines
Diff to previous 1.35
Added support the the ANSI *COMPILE-VERBOSE*, *COMPILE-PRINT*,
*COMPILE-FILE-PATHNAME* and *COMPILE-FILE-TRUENAME* variables.
The old *COMPILE-VERBOSE* has been renamed to *COMPILE-PROGRESS* and
exported from EXTENSIONS.
Many fixes and improvements of block compilation.  It is now possible
to block compile only part of a file using the START-BLOCK and END-BLOCK
declarations.  Also, you can designate which functions are entry points
to the component.  Non-entry-point functions can be optimized like
lexical functions, since they can't get new references.
Changed CLEAR-IR1-INFO to not muck with the *FREE-xxx*, since we always
call CLEAR-STUFF right afterward.
Made LOCALLY be recognized by PROCESS-FORM so that subforms can be compiled
separately.
Split up PROCESS-FORM a bit.
Changed COMPILE-TOP-LEVEL to call CLEAR-STUFF, since it was being called
in all the same places.
Added :ENTRY-POINTS keywords.  Documented :BLOCK-COMPILE.

Revision 1.35 - (view) (annotate) - [select for diffs]
Wed Mar 20 03:01:09 1991 UTC (23 years, 1 month ago) by wlott
Branch: MAIN
Changes since 1.34: +8 -4 lines
Diff to previous 1.34
Pass the trace table returned by generate-code on into fasl-dump-component
or make-core-component.

Revision 1.34 - (view) (annotate) - [select for diffs]
Tue Mar 12 16:44:05 1991 UTC (23 years, 1 month ago) by ram
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33
Changed compiler-version to 1.0, and made it a defvar so that core building can
set it in advance.

Revision 1.33 - (view) (annotate) - [select for diffs]
Mon Mar 11 17:15:39 1991 UTC (23 years, 1 month ago) by ram
Branch: MAIN
Changes since 1.32: +4 -6 lines
Diff to previous 1.32
Changed to call IR1-FINALIZE instead of CHECK-FREE-FUNCTION and 
NOTE-FAILED-OPTIMIZATION.  The main reason for this reorganization is
that C-F-F was being called after the IR1 had been trashed (freelisted).

Revision 1.32 - (view) (annotate) - [select for diffs]
Tue Mar 5 00:17:31 1991 UTC (23 years, 1 month ago) by ram
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
Changed the default for *check-consistency* to be NIL to reduce compile times.

Revision 1.31 - (view) (annotate) - [select for diffs]
Tue Feb 26 22:06:09 1991 UTC (23 years, 1 month ago) by ram
Branch: MAIN
Changes since 1.30: +8 -7 lines
Diff to previous 1.30
Changed CLEAR-STUFF to not clear the live TNs unless debug-too, so that
we can debug load-th hackery more easily.

Revision 1.30 - (view) (annotate) - [select for diffs]
Wed Feb 20 14:58:42 1991 UTC (23 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.29: +8 -4 lines
Diff to previous 1.29
New file header with RCS stuff.

Revision 1.29 - (view) (annotate) - [select for diffs]
Tue Dec 11 15:23:20 1990 UTC (23 years, 4 months ago) by wlott
Branch: MAIN
Changes since 1.28: +5 -101 lines
Diff to previous 1.28
Moved static vop counting into it's own file: statcount.

Revision 1.28 - (view) (annotate) - [select for diffs]
Thu Dec 6 22:23:16 1990 UTC (23 years, 4 months ago) by wlott
Branch: MAIN
Changes since 1.27: +3 -0 lines
Diff to previous 1.27
If we want to collect dynamic statistics, all setup-dynamic-count-info
after all ir2 phases.

Revision 1.27 - (view) (annotate) - [select for diffs]
Thu Nov 29 01:17:49 1990 UTC (23 years, 4 months ago) by ram
Branch: MAIN
Changes since 1.26: +3 -1 lines
Diff to previous 1.26
When we see a package frobber, we need to compile pending top-leve
forms *before* we eval it, not after.

Revision 1.26 - (view) (annotate) - [select for diffs]
Tue Nov 20 19:08:45 1990 UTC (23 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.25: +4 -0 lines
Diff to previous 1.25
Changed COMPILE-FILE to set *COMPILER-ERROR-OUTPUT* to *ERROR-OUTPUT*
before it closes the output file, so that any compiler error stuff
during the load of a :LOAD T compile will go somewhere, rather than
gagging on a closed stream

Revision 1.25 - (view) (annotate) - [select for diffs]
Tue Nov 13 22:44:58 1990 UTC (23 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.24: +4 -0 lines
Diff to previous 1.24
Added call to COPY-PROPAGATE.

Revision 1.24 - (view) (annotate) - [select for diffs]
Mon Nov 12 00:16:24 1990 UTC (23 years, 5 months ago) by wlott
Branch: MAIN
Changes since 1.23: +12 -14 lines
Diff to previous 1.23
Bind *backend* to *native-backend* in compile-from-stream and compile.
Bind *info-environment* to the backend specific info environment (if there
is one) before compiling anything.

Revision 1.23 - (view) (annotate) - [select for diffs]
Sat Nov 3 03:14:54 1990 UTC (23 years, 5 months ago) by wlott
Branch: MAIN
Changes since 1.22: +6 -5 lines
Diff to previous 1.22
Use slots of *backend* instead of *sc-names*, etc for backend specific
information.

Revision 1.22 - (view) (annotate) - [select for diffs]
Wed Oct 17 19:19:32 1990 UTC (23 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.21: +49 -10 lines
Diff to previous 1.21
Changed COMPILE-TOP-LEVEL and COMPILE-TOP-LEVEL-LAMBDAS to deal
with top-level lambdas that aren't in :TOP-LEVEL components.

Revision 1.21 - (view) (annotate) - [select for diffs]
Sun Oct 14 23:18:42 1990 UTC (23 years, 6 months ago) by wlott
Branch: MAIN
Changes since 1.20: +20 -0 lines
Diff to previous 1.20
Added ``save-vop-counts'' and ``augment-vop-counts.''

Revision 1.20 - (view) (annotate) - [select for diffs]
Fri Oct 12 01:23:25 1990 UTC (23 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.19: +35 -19 lines
Diff to previous 1.19
Fixed DEFUN to respect NOTINLINE declarations as inhibiting self-recursive
local call.
Added stuff to put stuff in the DEBUG-SOURCE-INFO, the function
in the case of DEFUN (so that FUNCTION-LAMBDA-EXPRESSION can work),
and whatever is the :SOURCE-INFO argument to COMPILE-FROM-STREAM
(for possible future clever editor hacks.)

Revision 1.19 - (view) (annotate) - [select for diffs]
Thu Sep 27 18:26:14 1990 UTC (23 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.18: +4 -1 lines
Diff to previous 1.18
Eliminated call to IR1-FINALIZE in favor of separate handling of free
functions and failed optimizations.  Previously the context nodes for
failed optimizations where being freelisted before IR1-FINALIZE which
caused NOTE-FAILED-OPTIMIZATION to think that the call had been deleted,
squelching the note.

Revision 1.18 - (view) (annotate) - [select for diffs]
Wed Sep 19 21:12:33 1990 UTC (23 years, 7 months ago) by ram
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17
Fixed FILE-COMMENT processing to actually work.

Revision 1.17 - (view) (annotate) - [select for diffs]
Sun Sep 9 13:10:39 1990 UTC (23 years, 7 months ago) by wlott
Branch: MAIN
Changes since 1.16: +80 -1 lines
Diff to previous 1.16
Added noise to count the number of times each vop is used and the number
of bytes each vop results in.  This feature is controlled by the special
*count-vop-usages*.

Revision 1.16 - (view) (annotate) - [select for diffs]
Thu Sep 6 13:59:20 1990 UTC (23 years, 7 months ago) by wlott
Branch: MAIN
Changes since 1.15: +9 -8 lines
Diff to previous 1.15
Use *lexical-environment*, not *fenv*.

Revision 1.15 - (view) (annotate) - [select for diffs]
Fri Aug 24 18:36:02 1990 UTC (23 years, 7 months ago) by wlott
Branch: MAIN
Changes since 1.14: +26 -17 lines
Diff to previous 1.14
Merged MIPS branch with the trunk.

Revision 1.14 - (view) (annotate) - [select for diffs]
Thu Aug 23 02:28:15 1990 UTC (23 years, 7 months ago) by ram
Branch: MAIN
Changes since 1.13: +24 -3 lines
Diff to previous 1.13
Added CLEAR-IR1-INFO which clears the refs for global variables.

Revision 1.13 - (view) (annotate) - [select for diffs]
Thu Aug 16 16:26:04 1990 UTC (23 years, 8 months ago) by ram
Branch: MAIN
Changes since 1.12: +12 -3 lines
Diff to previous 1.12
Added code to CONVERT-AND-MAYBE-COMPILER to place the current value
of *DEFAULT-COOKIE* in the *LEXICAL-ENVIRONMENT* so that the global
value takes effect within that form even if it is different than the
one in effect at the start of the compilation.
In PROCESS-FORM, fixed the processing of package-frobbing forms to
stop out-of-order execution problems.

Revision 1.12 - (view) (annotate) - [select for diffs]
Mon Jul 23 14:57:51 1990 UTC (23 years, 8 months ago) by ram
Branch: MAIN
Changes since 1.11: +71 -64 lines
Diff to previous 1.11
Fixed some broken declarations.  Tweaked undefined warning stuff a bit;
now we don't print full warnings when in the interpreter, just let the
summary suffice.  Changed top-level form processing to bind 
*current-path* as it goes.  Changed dates to be printed with :gonvernment
style, since Bill thinks it makes a difference.

Revision 1.11.1.5 - (view) (annotate) - [select for diffs] (vendor branch)
Mon Jul 23 13:27:37 1990 UTC (23 years, 8 months ago) by ram
Branch: eval_debug
Changes since 1.11.1.4: +33 -26 lines
Diff to previous 1.11.1.4 , to next main 1.161
*** empty log message ***

Revision 1.11.2.3 - (view) (annotate) - [select for diffs]
Sat Jul 14 12:44:06 1990 UTC (23 years, 9 months ago) by wlott
Changes since 1.11.2.2: +2 -2 lines
Diff to previous 1.11.2.2 , to branch point 1.11 , to next main 1.161
Removed two type declarations for variables that didn't exist.

Revision 1.11.2.2 - (view) (annotate) - [select for diffs]
Fri Jul 13 11:58:27 1990 UTC (23 years, 9 months ago) by wlott
Changes since 1.11.2.1: +3 -1 lines
Diff to previous 1.11.2.1 , to branch point 1.11
Added ``#+new-complier (lisp::maybe-gc)'' to convert-and-maybe-compile.

Revision 1.11.1.4 - (view) (annotate) - [select for diffs] (vendor branch)
Wed Jun 27 09:55:31 1990 UTC (23 years, 9 months ago) by ram
Branch: eval_debug
Changes since 1.11.1.3: +21 -23 lines
Diff to previous 1.11.1.3
*** empty log message ***

Revision 1.11.1.3 - (view) (annotate) - [select for diffs] (vendor branch)
Wed Jun 20 20:59:35 1990 UTC (23 years, 10 months ago) by ram
Branch: eval_debug
Changes since 1.11.1.2: +2 -2 lines
Diff to previous 1.11.1.2
*** empty log message ***

Revision 1.11.2.1 - (view) (annotate) - [select for diffs]
Tue Jun 12 23:45:20 1990 UTC (23 years, 10 months ago) by wlott
Changes since 1.11: +23 -16 lines
Diff to previous 1.11
Merged trunk changes into MIPS branch.

Revision 1.11.1.2 - (view) (annotate) - [select for diffs] (vendor branch)
Wed Jun 6 14:05:16 1990 UTC (23 years, 10 months ago) by ram
Branch: eval_debug
Changes since 1.11.1.1: +16 -14 lines
Diff to previous 1.11.1.1
*** empty log message ***

Revision 1.11.1.1 - (view) (annotate) - [select for diffs] (vendor branch)
Tue Jun 5 19:35:55 1990 UTC (23 years, 10 months ago) by ram
Branch: eval_debug
Changes since 1.11: +0 -0 lines
Diff to previous 1.11
*** empty log message ***

Revision 1.11 - (view) (annotate) - [select for diffs]
Fri Jun 1 13:47:32 1990 UTC (23 years, 10 months ago) by ram
Branch: MAIN
Branch point for: eval_debug
Changes since 1.10: +13 -13 lines
Diff to previous 1.10
Tweaks and fixes to new error output.

Revision 1.10 - (view) (annotate) - [select for diffs]
Tue May 29 16:19:56 1990 UTC (23 years, 10 months ago) by ram
Branch: MAIN
Changes since 1.9: +107 -45 lines
Diff to previous 1.9
Made clearing of debug-id tables by CLEAR-STUFF optional so that we can
keep the interpreter from trashing them.
Added printing of a summary of undefined warning names.
Added printing of header and trailer error output.
Fixed COMPILE to use the new interface to FIND-INITIAL-DFO.

Revision 1.9 - (view) (annotate) - [select for diffs]
Tue May 22 13:09:00 1990 UTC (23 years, 11 months ago) by ram
Branch: MAIN
Changes since 1.8: +0 -1 lines
Diff to previous 1.8
Don't clear *SOURCE-PATHS* in CLEAR-STUFF, since this must carry across
component compilations.

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu May 17 13:36:47 1990 UTC (23 years, 11 months ago) by ram
Branch: MAIN
Changes since 1.7: +23 -15 lines
Diff to previous 1.7
Added a limit on the number of times that IR1-PHASES will loop, and simplified
the control flow to a simple loop.

Changed PROCESS-FORM to bind *CURRENT-PATH* to the source path for the current
form, if any.  This is necessary to preserve the most specific source path
info, now that we expand macros in preprocessing.

Revision 1.7 - (view) (annotate) - [select for diffs]
Fri Apr 27 11:50:15 1990 UTC (23 years, 11 months ago) by ram
Branch: MAIN
Changes since 1.6: +18 -22 lines
Diff to previous 1.6
Hooked into the new alloc stuff.  Reduced TOP-LEVEL-LAMBDA-MAX to 10
to minimize thrashing.

Revision 1.5.2.2 - (view) (annotate) - [select for diffs]
Wed Apr 25 21:44:34 1990 UTC (23 years, 11 months ago) by wlott
Changes since 1.5.2.1: +6 -2 lines
Diff to previous 1.5.2.1 , to branch point 1.5 , to next main 1.161
Added call to nuke-segment after we are done compiling, so that stuff gets
GCed.

Revision 1.6 - (view) (annotate) - [select for diffs]
Tue Apr 24 15:41:18 1990 UTC (23 years, 11 months ago) by ram
Branch: MAIN
Changes since 1.5: +84 -45 lines
Diff to previous 1.5
Changed stuff to delay compilation of top-level forms, and mash them into
a single component.

Revision 1.5.2.1 - (view) (annotate) - [select for diffs]
Tue Apr 24 03:04:39 1990 UTC (23 years, 11 months ago) by wlott
Changes since 1.5: +18 -15 lines
Diff to previous 1.5
Start of MIPS branch (with new-assembler changes).

Revision 1.5.1.2 - (view) (annotate) - [select for diffs] (vendor branch)
Tue Apr 24 02:43:37 1990 UTC (23 years, 11 months ago) by wlott
Branch: new-assem
Changes since 1.5.1.1: +18 -11 lines
Diff to previous 1.5.1.1 , to next main 1.161
More new-assembler changes.
Use vm:target-fasl-file-type instead of "nfasl".

Revision 1.5.1.1 - (view) (annotate) - [select for diffs] (vendor branch)
Mon Apr 23 16:25:37 1990 UTC (23 years, 11 months ago) by wlott
Branch: new-assem
Changes since 1.5: +2 -6 lines
Diff to previous 1.5
Changes for use with new-assember.

Revision 1.5 - (view) (annotate) - [select for diffs]
Mon Apr 16 10:46:45 1990 UTC (24 years ago) by ram
Branch: MAIN
Branch point for: new-assem
Changes since 1.4: +86 -64 lines
Diff to previous 1.4
Merged non-descriptor changes:
 revision 1.4.1.2
 date: 90/04/13 12:33:44;  author: ram;  state: Exp;  lines added/del: 2/0
 Actually call SELECT-REPRESENTATIONS.
 ----------------------------
 revision 1.4.1.1
 date: 90/03/27 12:24:31;  author: ram;  state: Exp;  lines added/del: 84/64
 Added new generalized UNDEFINED-WARNING support in place of the old
 UNKNOWN-FUNCTION mechanism.  This is now also used for undefined type
 warnings.
 CHanged control analysis to be called after LTN so that it can
 know which calls are TR.
 Added support for the new FILE-COMMENT macro (really magically
 recognized by PROCESS-FORM.)
 In SUB-COMPILE-FILE, changed the WITH-COMPILATION-UNIT to be inside
 the LET of *PACKAGE* so that the right package is current when
 printing the undefined warnings.

Revision 1.4 - (view) (annotate) - [select for diffs]
Thu Mar 15 00:28:06 1990 UTC (24 years, 1 month ago) by ram
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3
Fixed COMPILE-FILE to not delete the error file when the compile is aborted by
a throw.

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Mar 5 12:18:19 1990 UTC (24 years, 1 month ago) by ram
Branch: MAIN
Changes since 1.2: +21 -5 lines
Diff to previous 1.2
Defined PREPROCESSOR-MACROEXPAND.  This function correctly macroexpands
top-level forms in the bootstrapping environment (MACROEXPAND doesn't to the
trick.)

Revision 1.2 - (view) (annotate) - [select for diffs]
Mon Feb 19 12:30:38 1990 UTC (24 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.1: +63 -59 lines
Diff to previous 1.1
Changed stuff to correspond to the new interface to IR1-TOP-LEVEL and
FIND-SOURCE-PATHS.  Now we call FIND-SOURCE-PATHS before doing our recursive
PROCESS-FORM walk, and we just pass around the TLF number, instead of
constructing a source path as we go.  This allowed PROCESS-FORM to be changed
to expand macros.

Revision 1.1 - (view) (annotate) - [select for diffs]
Tue Feb 6 11:29:23 1990 UTC (24 years, 2 months ago) by wlott
Branch: MAIN
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5