From 920ba73f7303c4a5cb0a9d4e925d53823db730ef Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Tue, 4 Aug 2020 14:11:44 -0400 Subject: [PATCH] chore: missing assert and defines --- runtime/compiletime/instr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime/compiletime/instr.c b/runtime/compiletime/instr.c index afc72d0..6cac91f 100644 --- a/runtime/compiletime/instr.c +++ b/runtime/compiletime/instr.c @@ -1,7 +1,10 @@ /* code from https://github.com/gwsystems/silverfish/blob/master/runtime/runtime.c */ #include +#include #include +#define CHAR_BIT 8 + // TODO: Throughout here we use `assert` for error conditions, which isn't optimal // Instead we should use `unlikely` branches to a single trapping function (which should optimize better) // The below functions are for implementing WASM instructions