Skip to content

Commit cc4273c

Browse files
committed
Merge pull request #1695 from pguyot/w24/fix-trace-is_function-2
Fix trace of is_function/2 These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents 3cb0240 + 126e100 commit cc4273c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libAtomVM/opcodesswitch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5417,7 +5417,7 @@ HOT_FUNC int scheduler_entry_point(GlobalContext *glb)
54175417
DECODE_COMPACT_TERM(arity_term, pc)
54185418

54195419
#ifdef IMPL_EXECUTE_LOOP
5420-
TRACE("is_function2/3, label=%i, arg1=%lx, arity=%i\n", label, arg1, arity);
5420+
TRACE("is_function2/3, label=%i, arg1=%lx, arity=%p\n", label, arg1, (void *) arity_term);
54215421

54225422
if (term_is_function(arg1) && term_is_integer(arity_term)) {
54235423
const term *boxed_value = term_to_const_term_ptr(arg1);

0 commit comments

Comments
 (0)