| 29 | } |
| 30 | |
| 31 | static size_t op_items(const struct hc_op *op, |
| 32 | uint8_t *p, |
| 33 | struct hc_vm *vm) { |
| 34 | const size_t s = op->size + hc_align(p, op->align) - p; |
| 35 | return ceil(s / (double)vm->code.item_size); |
| 36 | } |
| 37 | |
| 38 | static void deinit_stack(struct hc_vm *vm) { |
| 39 | hc_vector_do(&vm->stack, v) { |
no outgoing calls
no test coverage detected