| 98 | } |
| 99 | |
| 100 | void check_trap1(wasmtime_context_t *store, wasmtime_func_t *func, |
| 101 | int32_t arg) { |
| 102 | wasmtime_val_t args[1]; |
| 103 | args[0].kind = WASMTIME_I32; |
| 104 | args[0].of.i32 = arg; |
| 105 | check_trap(store, func, args, 1, 1); |
| 106 | } |
| 107 | |
| 108 | void check_trap2(wasmtime_context_t *store, wasmtime_func_t *func, int32_t arg1, |
| 109 | int32_t arg2) { |