Commit c9dee0e
committed
Fix logical NOT operator crash in Arm codegen
This replaces malformed TEQ instruction with proper CMP instruction for
OP_log_not. TEQ requires two operands but was only given one, causing
compilation failures for expressions using the \! operator.
The fix uses CMP to compare the register with 0, followed by conditional
MOV instructions to set the result correctly.1 parent 695e616 commit c9dee0e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
| 422 | + | |
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| |||
0 commit comments