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

Changed Immediate-Constant-SC to return the random-immediate SC for any

symbol listed in vm:initial-symbols.
parent 3225cb66
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Lisp, please contact Scott Fahlman (Scott.Fahlman@CS.CMU.EDU) ;;; Lisp, please contact Scott Fahlman (Scott.Fahlman@CS.CMU.EDU)
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/vm.lisp,v 1.8 1990/02/20 16:19:55 wlott Exp $ ;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/vm.lisp,v 1.9 1990/02/23 20:24:11 wlott Exp $
;;; ;;;
;;; This file contains the VM definition for the MIPS R2000 and the new ;;; This file contains the VM definition for the MIPS R2000 and the new
;;; object format. ;;; object format.
...@@ -428,7 +428,11 @@ ...@@ -428,7 +428,11 @@
(sc-number-or-lose 'immediate)) (sc-number-or-lose 'immediate))
((integer #x1FFF #x3FFE) ((integer #x1FFF #x3FFE)
(sc-number-or-lose 'unsigned-immediate)) (sc-number-or-lose 'unsigned-immediate))
((or fixnum (member t)) (symbol
(if (member value vm:initial-symbols)
(sc-number-or-lose 'random-immediate)
nil))
(fixnum
(sc-number-or-lose 'random-immediate)) (sc-number-or-lose 'random-immediate))
;; ### what here? ;; ### what here?
;(sap ;(sap
......
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