Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-09-01 11:09:06 -0700 (Thu, 01 Sep 2005)
Revision: 1459
Log message:
Solved two marshaling problems.
The Mount.t record had functions in it; moved them from venv_inner
to venv_globals.
The primitive functions are also represented by functions. They could
also be moved to a table in venv_globals, but that would be slow.
Instead, they are function options, and the option is cleared before
marshaling. In the case where a primitive is unmarshaled, the function
option is restored when it is used.
There was a bug--these lazy primitives need to be remembered in the
list of primitives so they can be cleared when re-marshaled.