| 103 | } |
| 104 | |
| 105 | void check_trap1(wasmtime_context_t *store, wasmtime_func_t *func, |
| 106 | int32_t arg) { |
| 107 | wasmtime_val_t args[1]; |
| 108 | args[0].kind = WASMTIME_I32; |
| 109 | args[0].of.i32 = arg; |
| 110 | check_trap(store, func, args, 1, 1); |
| 111 | } |
| 112 | |
| 113 | void check_trap2(wasmtime_context_t *store, wasmtime_func_t *func, int32_t arg1, |
| 114 | int32_t arg2) { |