commit 45f163cb54ccd558eaccdc18ff56c35ed7349134
parent f13d64829bfb7be906a09de6c1ca276a8e58e20c
Author: William Casarin <jb55@jb55.com>
Date: Thu, 29 Jul 2021 11:57:45 -0700
remove unused functions
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 0 insertions(+), 13 deletions(-)
diff --git a/src/wasm.c b/src/wasm.c
@@ -38,11 +38,6 @@ struct expr_parser {
struct cursor *stack; // optional
};
-static INLINE struct callframe *top_callframes(struct cursor *cur, int top)
-{
- return (struct callframe*)cursor_topn(cur, sizeof(struct callframe), top);
-}
-
static INLINE struct callframe *top_callframe(struct cursor *cur)
{
return (struct callframe*)cursor_top(cur, sizeof(struct callframe));
@@ -4708,14 +4703,6 @@ static INLINE int store_i32(struct wasm_interp *interp, int offset, int i)
return store_simple(interp, offset, &val);
}
-static INLINE int store_i64(struct wasm_interp *interp, int offset, int64_t i)
-{
- struct val val;
- make_i64_val(&val, i);
- return store_simple(interp, offset, &val);
-}
-
-
static int interp_load(struct wasm_interp *interp, struct memarg *memarg,
enum valtype type, int N, int sign)
{