Skip to content

Commit 6ee55f1

Browse files
committed
make them available
Signed-off-by: Davide Bettio <davide@uninstall.it>
1 parent 017a3bb commit 6ee55f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libAtomVM/bif.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1496,7 +1496,7 @@ term bif_erlang_band_2(Context *ctx, uint32_t fail_label, int live, term arg1, t
14961496
if (LIKELY(term_is_integer(arg1) && term_is_integer(arg2))) {
14971497
return arg1 & arg2;
14981498
} else {
1499-
return bitwise_helper(ctx, fail_label, live, arg1, arg2, band, NULL);
1499+
return bitwise_helper(ctx, fail_label, live, arg1, arg2, band, intn_bandmn);
15001500
}
15011501
}
15021502

@@ -1510,7 +1510,7 @@ term bif_erlang_bxor_2(Context *ctx, uint32_t fail_label, int live, term arg1, t
15101510
if (LIKELY(term_is_integer(arg1) && term_is_integer(arg2))) {
15111511
return (arg1 ^ arg2) | TERM_INTEGER_TAG;
15121512
} else {
1513-
return bitwise_helper(ctx, fail_label, live, arg1, arg2, bxor, NULL);
1513+
return bitwise_helper(ctx, fail_label, live, arg1, arg2, bxor, intn_bxormn);
15141514
}
15151515
}
15161516

0 commit comments

Comments
 (0)