Skip to content
Snippets Groups Projects
Commit cfb979b8 authored by wlott's avatar wlott
Browse files

Fixed %test-headers to check that the lowtag of functions is the function

lowtag, not the function header value.
parent 2ad27f8c
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/hppa/type-vops.lisp,v 1.1 1992/07/13 03:48:37 wlott Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/hppa/type-vops.lisp,v 1.2 1992/10/28 16:13:11 wlott Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
(defun %test-headers (value temp target not-p function-p headers (defun %test-headers (value temp target not-p function-p headers
&optional (drop-through (gen-label)) temp-loaded) &optional (drop-through (gen-label)) temp-loaded)
(let ((lowtag (if function-p function-header-type other-pointer-type))) (let ((lowtag (if function-p function-pointer-type other-pointer-type)))
(multiple-value-bind (multiple-value-bind
(equal greater-or-equal when-true when-false) (equal greater-or-equal when-true when-false)
;; EQUAL and GREATER-OR-EQUAL are the conditions for branching to ;; EQUAL and GREATER-OR-EQUAL are the conditions for branching to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment