Berry fix flip

This commit is contained in:
Stephan Hadinger 2021-09-27 12:13:11 +02:00
parent f57b9c37d4
commit 7e93d5c370
1 changed files with 1 additions and 1 deletions

View File

@ -743,7 +743,7 @@ newframe: /* a new call frame */
opcase(FLIP): {
bvalue *dst = RA(), *a = RKB();
if (var_isint(a)) {
var_setint(dst, -a->v.i);
var_setint(dst, ~a->v.i);
} else if (var_isinstance(a)) {
ins_unop(vm, "~", *RKB());
reg = vm->reg;