FIRST, SECOND, THIRD, FOURTH and REST inlined using the new functions in cons.h

This commit is contained in:
Juan Jose Garcia Ripoll 2011-12-03 21:42:05 +01:00
parent b857c4836d
commit bb0ca9163f

View file

@ -360,15 +360,18 @@
(def-inline nth :unsafe (t t) t "ecl_nth(fix(#0),#1)")
(def-inline nth :unsafe (fixnum t) t "ecl_nth(#0,#1)")
(def-inline first :always (t) t "ecl_car(#0)")
(def-inline second :always (t) t "ecl_cadr(#0)")
(def-inline third :always (t) t "ecl_caddr(#0)")
(def-inline fourth :always (t) t "ecl_cadddr(#0)")
(def-inline first :unsafe (cons) t "ECL_CONS_CAR(#0)")
(def-inline first :unsafe (t) t "CAR(#0)")
(def-inline second :unsafe (t) t "CADR(#0)")
(def-inline third :unsafe (t) t "CADDR(#0)")
(def-inline fourth :unsafe (t) t "CADDDR(#0)")
(def-inline rest :always (t) t "ecl_cdr(#0)")
(def-inline rest :unsafe (cons) t "ECL_CONS_CDR(#0)")
(def-inline rest :unsafe (t) t "CDR(#0)")