Skip to content

Commit

Permalink
Remove definition of %test-cons operator
Browse files Browse the repository at this point in the history
  • Loading branch information
xrme committed May 22, 2024
1 parent 2993a50 commit 9dc6110
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 18 deletions.
4 changes: 0 additions & 4 deletions compiler/ARM/arm2.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -9379,10 +9379,6 @@ v idx-reg constidx val-reg (arm2-unboxed-reg-for-aset seg type-keyword val-reg s
(defarm2 arm2-%temp-list %temp-list (seg vreg xfer arglist)
(arm2-use-operator (%nx1-operator list) seg vreg xfer arglist))

(defarm2 arm2-%temp-cons %temp-cons (seg vreg xfer car cdr)
(arm2-use-operator (%nx1-operator cons) seg vreg xfer car cdr))


;;; Under MacsBug 5.3 (and some others ?), this'll do a low-level user
;;; break. If the debugger doesn't recognize the trap instruction,
;;; you'll have to manually advance the PC past it. "arg" winds up in the
Expand Down
4 changes: 0 additions & 4 deletions compiler/PPC/ppc2.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -8694,10 +8694,6 @@
(defppc2 ppc2-%temp-list %temp-list (seg vreg xfer arglist)
(ppc2-use-operator (%nx1-operator list) seg vreg xfer arglist))

(defppc2 ppc2-%temp-cons %temp-cons (seg vreg xfer car cdr)
(ppc2-use-operator (%nx1-operator cons) seg vreg xfer car cdr))


;;; Under MacsBug 5.3 (and some others ?), this'll do a low-level user
;;; break. If the debugger doesn't recognize the trap instruction,
;;; you'll have to manually advance the PC past it. "arg" winds up in the
Expand Down
5 changes: 0 additions & 5 deletions compiler/X86/x862.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -11315,11 +11315,6 @@
(defx862 x862-%temp-list %temp-list (seg vreg xfer arglist)
(x862-use-operator (%nx1-operator list) seg vreg xfer arglist))

(defx862 x862-%temp-cons %temp-cons (seg vreg xfer car cdr)
(x862-use-operator (%nx1-operator cons) seg vreg xfer car cdr))



(defx862 x862-%debug-trap %debug-trap (seg vreg xfer arg)
(x862-one-targeted-reg-form seg arg ($ *x862-arg-z*))
(! %debug-trap)
Expand Down
4 changes: 1 addition & 3 deletions compiler/nx1.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,7 @@
(defnx1 nx1-%null-ptr-p ((%null-ptr-p)) context (ptr)
(nx1-form :value `(%ptr-eql ,ptr (%int-to-ptr 0))))

(defnx1 nx1-binop ( (%ilsl) (%ilsr) (%iasr)
(cons) (%temp-cons)) context
(arg1 arg2)
(defnx1 nx1-binop ((%ilsl) (%ilsr) (%iasr) (cons)) context (arg1 arg2)
(make-acode (%nx1-default-operator) (nx1-form :value arg1) (nx1-form :value arg2)))


Expand Down
2 changes: 1 addition & 1 deletion compiler/nxenv.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
(with-variable-c-frame #.(logior operator-acode-list-mask operator-assignment-free-mask) :infer)
(uvref #.(logior operator-assignment-free-mask operator-single-valued-mask operator-acode-subforms-mask operator-side-effect-free-mask) :infer)
(uvset #.(logior operator-single-valued-mask operator-acode-subforms-mask) :infer)
(%temp-cons #.(logior operator-assignment-free-mask operator-single-valued-mask operator-acode-subforms-mask operator-side-effect-free-mask) cons)
() ;was %temp-cons
(%temp-List #.(logior operator-single-valued-mask operator-side-effect-free-mask) list)
(%make-uvector #.(logior operator-assignment-free-mask operator-single-valued-mask operator-side-effect-free-mask operator-acode-subforms-mask) :infer)
(%decls-body 0 :infer)
Expand Down
1 change: 0 additions & 1 deletion lib/level-2.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,6 @@
(%alloc-misc count subtag)))
(%eval-redef %setf-double-float (x y))
(%eval-redef %lisp-word-ref (x y))
(%eval-redef %temp-cons (x y))
(%eval-redef require-fixnum (x))
(%eval-redef require-symbol (x))
(%eval-redef require-list (x))
Expand Down

0 comments on commit 9dc6110

Please sign in to comment.