about summary refs log tree commit diff stats
path: root/apps/mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-09-29 20:21:30 -0700
committerKartik Agaram <vc@akkartik.com>2020-09-29 20:33:29 -0700
commit8246324ebb83078109a64cb43a40fe0703033c81 (patch)
treee5274774ae1e5df719794cfa26465c593424dc49 /apps/mu
parentcf1ddc4170e9d76eea196e4bc34dcf5f9bc66fdd (diff)
downloadmu-8246324ebb83078109a64cb43a40fe0703033c81.tar.gz
6903
Make a few tests more self-contained.

I'd prefer to just run a function called `setup` first thing on startup
and move this portion of convert-mu to it:
    # initialize global data structures
    c7 0/subop/copy *Next-block-index 1/imm32
    8b/-> *Primitive-type-ids 0/r32/eax
    89/<- *Type-id 0/r32/eax  # stream-write
    c7 0/subop/copy *_Program-functions 0/imm32
    c7 0/subop/copy *_Program-functions->payload 0/imm32
    c7 0/subop/copy *_Program-types 0/imm32
    c7 0/subop/copy *_Program-types->payload 0/imm32
    c7 0/subop/copy *_Program-signatures 0/imm32
    c7 0/subop/copy *_Program-signatures->payload 0/imm32

However, this approach doesn't fix my run_one_test tooling.
Diffstat (limited to 'apps/mu')
-rwxr-xr-xapps/mubin396171 -> 396315 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/apps/mu b/apps/mu
index 3578f813..9b66a156 100755
--- a/apps/mu
+++ b/apps/mu
Binary files differ