Remove :integer-eql-vop feature, use vop-existsp instead.

This commit is contained in:
Stas Boukarev 2023-09-05 06:53:26 +03:00
parent 5cec624f80
commit dd79dc37f6
2 changed files with 4 additions and 3 deletions

View file

@ -10,7 +10,6 @@
:fp-and-pc-standard-save
:alien-callbacks
:cycle-counter
:integer-eql-vop
:undefined-fun-restarts
:call-symbol
:executable-funinstances

View file

@ -263,8 +263,10 @@
#+long-float
(long-float eql)
(bignum
#-integer-eql-vop (lambda (x y) (zerop (bignum-compare x y)))
#+integer-eql-vop eql) ; will become %eql/integer
(lambda (x y)
(sb-c::if-vop-existsp (:named sb-vm::%eql/integer)
(eql x y)
(zerop (bignum-compare x y)))))
(ratio
(lambda (x y)
(and (eql (numerator x) (numerator y))