| 47 | } |
| 48 | |
| 49 | void check_call1(wasm_func_t* func, int32_t arg, int32_t expected) { |
| 50 | wasm_val_t args[] = { WASM_I32_VAL(arg) }; |
| 51 | check_call(func, 1, args, expected); |
| 52 | } |
| 53 | |
| 54 | void check_call2(wasm_func_t* func, int32_t arg1, int32_t arg2, int32_t expected) { |
| 55 | wasm_val_t args[] = { WASM_I32_VAL(arg1), WASM_I32_VAL(arg2) }; |