Skip to content

Commit 209835d

Browse files
committed
Merge pull request atomvm#2149 from pguyot/w09/jit-fix-assert-macro-typo
JIT armv6m: fix misplaced parenthesis in ASSERT 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 dc2e5f1 + 1805e3f commit 209835d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/jit/src/jit_armv6m.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3119,7 +3119,7 @@ decrement_reductions_and_maybe_schedule_next(
31193119
I4 = <<16#FFFF:16>>,
31203120
% Set continuation to the next instruction
31213121
ADROffset = BNEOffset + byte_size(I4),
3122-
?ASSERT(byte_size(jit_armv6m_asm:adr(Temp, 4) =:= 2)),
3122+
?ASSERT(byte_size(jit_armv6m_asm:adr(Temp, 4)) =:= 2),
31233123
I5 = <<16#FFFF:16>>,
31243124
I6 = jit_armv6m_asm:adds(Temp, Temp, 1),
31253125
I7 = jit_armv6m_asm:str(Temp, ?JITSTATE_CONTINUATION(TempJitState)),

0 commit comments

Comments
 (0)