Skip to content

Commit

Permalink
Add test for malformed list
Browse files Browse the repository at this point in the history
  • Loading branch information
ziopio committed Jan 24, 2025
1 parent ef929c4 commit cadf9a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion erts/emulator/beam/jit/arm/32/instr_fun.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,11 @@ void BeamGlobalAssembler::emit_apply_fun_shared() {
a.b_eq(finished);

ERTS_CT_ASSERT(_TAG_PRIMARY_MASK - TAG_PRIMARY_LIST == (1 << 1));
a.tst(ARG1, imm(1)),
a.b_ne(malformed_list),

// TODO
ASSERT(false);
//a.tbnz(ARG1, imm(1), malformed_list);

//emit_ptr_val(ARG1, ARG1);
//a.sub(ARG1, ARG1, imm(TAG_PRIMARY_LIST));
Expand Down

0 comments on commit cadf9a0

Please sign in to comment.