| 66 | } |
| 67 | |
| 68 | void check_ok2(wasm_func_t* func, int32_t arg1, int32_t arg2) { |
| 69 | wasm_val_t args[] = { WASM_I32_VAL(arg1), WASM_I32_VAL(arg2) }; |
| 70 | check_ok(func, 2, args); |
| 71 | } |
| 72 | |
| 73 | void check_trap(wasm_func_t* func, int i, wasm_val_t args[]) { |
| 74 | wasm_val_t r = WASM_INIT_VAL; |