Undo previous change that removed primitive apply optimizations. (It
authorChris Hanson <org/chris-hanson/cph>
Thu, 14 Feb 2008 06:47:37 +0000 (06:47 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 14 Feb 2008 06:47:37 +0000 (06:47 +0000)
commit34c4568d12837830b51fa0ae2f293bf89ced8b95
tree4cf083353d39b0d8644b22e008f972f26d5cdce8
parent71a593c3c71ddfdf05d192716b0375495522da2e
Undo previous change that removed primitive apply optimizations.  (It
turns out that my analysis was incomplete and further changes would
have been required.)  Fix the problem with the apply hacks by
introducing a new exception code PRIM_APPLY_ERROR, which provides an
alternate path for signaling an error to the interpreter, _without_
backing out of the primitive (since we've already made all the
necessary changes to the stack).
v7/src/microcode/cmpint.c
v7/src/microcode/cmpint.h
v7/src/microcode/const.h
v7/src/microcode/hooks.c
v7/src/microcode/interp.c
v7/src/microcode/interp.h