Skip to content
Snippets Groups Projects
Commit 26acdd0b authored by rtoy's avatar rtoy
Browse files

Add more precise checking for results not used for functions like

NREVERSE and DELETE.  When given vectors, the vectors are modified
in-place, so we don't have to use the result.

compiler/fndb.lisp:
o Functions like NREVERSE and DELETE that take sequences need to check
  to see if the sequence might be a list or not before warning about
  if the result is not used.
o MERGE needs a fancier :result-not-used function, so disable that for
  now.

compiler/knownfun.lisp:
o LIST-FUNCTION-RESULT-NOT-USED creates a function to check is the
  specified arg is a list and determines if the result is used or not.
parent 2b1fb181
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment