Skip to content

Commit 3cb0240

Browse files
committed
Merge pull request #1694 from pguyot/w24/cleanup-if_end-0
Remove redundant assignment in if_end/0 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 062ce4b + 9f2082e commit 3cb0240

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/libAtomVM/opcodesswitch.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3509,9 +3509,6 @@ HOT_FUNC int scheduler_entry_point(GlobalContext *glb)
35093509
TRACE("if_end/0\n");
35103510

35113511
#ifdef IMPL_EXECUTE_LOOP
3512-
x_regs[0] = ERROR_ATOM;
3513-
x_regs[1] = IF_CLAUSE_ATOM;
3514-
35153512
RAISE_ERROR(IF_CLAUSE_ATOM);
35163513
#endif
35173514
break;

0 commit comments

Comments
 (0)