Skip to content

Commit cf12f87

Browse files
committed
optimized the placement of the tailcall in i48abs
1 parent 7a56eb4 commit cf12f87

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/crt/i48abs.src

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ _i48abs:
1717

1818
push bc
1919
ex de, hl
20-
ret nc ; positive
21-
jp __i48neg
20+
jp c, __i48neg ; negative
21+
; positive
22+
ret
2223

2324
extern __i48neg

0 commit comments

Comments
 (0)