Optimize some callers of SIGNAL a little more.
commit9ba5503d8786d578a1295741ac7696a99c842776
authorDouglas Katzman <dougk@google.com>
Mon, 23 Jan 2017 06:17:04 +0000 (23 01:17 -0500)
committerDouglas Katzman <dougk@google.com>
Mon, 23 Jan 2017 06:37:56 +0000 (23 01:37 -0500)
treea64d444b5d1015d66f212e9fee01b52e67094bdf
parent1f6dc877e1c68512e970f189fa970c1ae43d752f
Optimize some callers of SIGNAL a little more.

- Don't cons the &REST list in the XEP for WARN, STYLE-WARN.
- Avoid indirection through classoid-cell for type-check -
  just reference the relevant classoid directly as a constant.
- Bypass an extraneous (additional) COERCE-TO-CONDITION call.
- Make encapsulation work with (APPLY #'WARN ...)
  by disabling the known-fun optimization
- Make WARN a little more useful potentially in cold-init.
src/code/cold-error.lisp
src/code/cold-init.lisp
src/code/debug.lisp
src/code/warm-error.lisp [new file with mode: 0644]
src/cold/warm.lisp
src/compiler/compiler-error.lisp
src/compiler/debug.lisp
src/compiler/ir1opt.lisp
src/compiler/locall.lisp
src/compiler/main.lisp