protoverse

A metaverse protocol
git clone git://jb55.com/protoverse
Log | Files | Refs | README | LICENSE

commit ce6ce80cbb34bdcc5e9f668cf4687e72b470b389
parent 91c799e715fb794d3cfbf93b5c9fb1fcb308a9dd
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 16 Apr 2023 12:17:54 -0700

ocd align

Diffstat:
Msrc/wasm.c | 32++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/wasm.c b/src/wasm.c @@ -6465,7 +6465,7 @@ static int interp_instr(struct wasm_interp *interp, struct instr *instr) case i_i64_or: return interp_i64_or(interp); case i_i64_sub: return interp_i64_sub(interp); - case i_i64_const: return interp_i64_const(interp, instr->i64); + case i_i64_const: return interp_i64_const(interp, instr->i64); case i_i64_extend_i32_u: return interp_extend(interp, val_i64, val_i32, 0); case i_i64_extend_i32_s: return interp_extend(interp, val_i64, val_i32, 1); @@ -6494,22 +6494,22 @@ static int interp_instr(struct wasm_interp *interp, struct instr *instr) case i_i64_load32_s: return interp_load(interp, &instr->memarg, val_i64, 32, 1); case i_i64_load32_u: return interp_load(interp, &instr->memarg, val_i64, 32, 0); - case i_drop: return interp_drop(interp); - case i_loop: return interp_loop(interp); - case i_if: return interp_if(interp); - case i_else: return interp_else(interp); - case i_end: return interp_end(interp); - case i_call: return interp_call(interp, instr->i32); + case i_drop: return interp_drop(interp); + case i_loop: return interp_loop(interp); + case i_if: return interp_if(interp); + case i_else: return interp_else(interp); + case i_end: return interp_end(interp); + case i_call: return interp_call(interp, instr->i32); case i_call_indirect: return interp_call_indirect(interp, &instr->call_indirect); - case i_block: return interp_block(interp); - case i_br: return interp_br(interp, instr->i32); - case i_br_table: return interp_br_table(interp, &instr->br_table); - case i_br_if: return interp_br_if(interp, instr->i32); - case i_memory_size: return interp_memory_size(interp, instr->memidx); - case i_memory_grow: return interp_memory_grow(interp, instr->memidx); - case i_bulk_op: return interp_bulk_op(interp, &instr->bulk_op); - case i_table_set: return interp_table_set(interp, instr->i32); - case i_return: return interp_return(interp); + case i_block: return interp_block(interp); + case i_br: return interp_br(interp, instr->i32); + case i_br_table: return interp_br_table(interp, &instr->br_table); + case i_br_if: return interp_br_if(interp, instr->i32); + case i_memory_size: return interp_memory_size(interp, instr->memidx); + case i_memory_grow: return interp_memory_grow(interp, instr->memidx); + case i_bulk_op: return interp_bulk_op(interp, &instr->bulk_op); + case i_table_set: return interp_table_set(interp, instr->i32); + case i_return: return interp_return(interp); default: interp_error(interp, "unhandled instruction %s 0x%x", instr_name(instr->tag), instr->tag);