Copy block in va_block_arg_builtin.
@@ -231,7 +231,7 @@ void *va_arg_builtin (void *p, uint64_t t) {
}
void va_block_arg_builtin (void *res, void *p, size_t s) {
- *(void **) res = *(void **) va_arg_builtin (p, MIR_T_I64);
+ memcpy (res, *(void **) va_arg_builtin (p, MIR_T_I64), s);
}
void va_start_interp_builtin (MIR_context_t ctx, void *p, void *a) {
