Added code to deal with primitives called with the wrong number of
authorStephen Adams <edu/mit/csail/zurich/adams>
Fri, 8 Mar 1996 22:27:09 +0000 (22:27 +0000)
committerStephen Adams <edu/mit/csail/zurich/adams>
Fri, 8 Mar 1996 22:27:09 +0000 (22:27 +0000)
commit3524fbb8a40407f3518627323864fe6d1adaf6aa
tree3102a3b73cb221cfbbac16146e621da50638a43c
parent043925da883b4089d2e4bdb4dc9e5d03766769ed
Added code to deal with primitives called with the wrong number of
arguments.  A warning is issued.  The primitive is called with
%internal-apply to ensure correct behaviour at run time.

Note: Perhaps this processing should go later, in case something
clever finds more primitives to substitute.  For non open-coded
primitives, this can be done as late a compat.  The problem with this
is that after CPS conversion, it is impossible to convert an open
coded primitive into a subproblem call.  One way to solve this is not
open code NO primitives, only cookie calls.
v8/src/compiler/midend/applicat.scm