about summary refs log tree commit diff stats
path: root/archive/1.vm/999spaces.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-03-22 12:11:49 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-18 00:44:46 -0700
commit546a92985f7da2491077d641a2c118b4af7f6913 (patch)
tree1e6ab75543a3028e78c9454fbb6bd6b6a076e0ee /archive/1.vm/999spaces.cc
parent1f38b75e31d713fc72a9d29d360fe5ad66ba22fe (diff)
downloadmu-546a92985f7da2491077d641a2c118b4af7f6913.tar.gz
start migrating handles to fat pointers
CI will fail from this commit onward. Currently working:
  $ bootstrap translate init.linux 0[4-7]*.subx 080zero-out.subx -o a.elf  &&  ./a.elf test
  $ bootstrap run a.elf test
  $ chmod +x a.elf;  ./a.elf test

Plan: migrate functions that used to return handles to pass in a new arg
of type (addr handle). That's a bit of a weird type. There should be few
of these functions. (Open question: do we even want to expose this type
in the Mu language?)

Functions that just need to read from heap without modifying the handle
will receive `(addr T)` or `(handle T)` types as arguments.

As I sanitize each new file, I need to update signatures for any new functions
and add them to a list. I also need to update calls to any functions on
the list.
Diffstat (limited to 'archive/1.vm/999spaces.cc')
0 files changed, 0 insertions, 0 deletions