mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-15 05:43:19 -08:00
Use ecl_unlikely() in the expansion of RPLACA/D
This commit is contained in:
parent
a3ad77d5a8
commit
d7aff31c8a
1 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@
|
|||
(x (first args))
|
||||
(y (second args)))
|
||||
(when (safe-compile)
|
||||
(wt-nl "if(ATOM(" x "))"
|
||||
(wt-nl "if (ecl_unlikely(ATOM(" x ")))"
|
||||
"FEtype_error_cons(" x ");"))
|
||||
(wt-nl "ECL_CONS_CAR(" x ") = " y ";")
|
||||
(unwind-exit x)
|
||||
|
|
@ -115,7 +115,7 @@
|
|||
(x (first args))
|
||||
(y (second args)))
|
||||
(when (safe-compile)
|
||||
(wt-nl "if(ATOM(" x "))"
|
||||
(wt-nl "if (ecl_unlikely(ATOM(" x ")))"
|
||||
"FEtype_error_cons(" x ");"))
|
||||
(wt-nl "ECL_CONS_CDR(" x ") = " y ";")
|
||||
(unwind-exit x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue