Skip to content
Snippets Groups Projects
Commit 39ddacd8 authored by ch's avatar ch
Browse files

Added ability to load symbols to LOAD-CONSTANT-TN.

parent b11f0010
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC). ;;; Scott Fahlman (FAHLMAN@CMUC).
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/move.lisp,v 1.4 1990/02/09 13:22:11 wlott Exp $ ;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/move.lisp,v 1.5 1990/02/18 05:47:26 ch Exp $
;;; ;;;
;;; This file contains the RT VM definition of operand loading/saving and ;;; This file contains the RT VM definition of operand loading/saving and
;;; the Move VOP. ;;; the Move VOP.
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
(loadi dest (fixnum val))) (loadi dest (fixnum val)))
(null (null
(move dest null-tn)) (move dest null-tn))
((member t) (symbol
(error "can't load T yet.")) (inst addi dest null-tn (initial-symbol-offset-symbol val)))
(string-char (string-char
(loadi dest (logior (ash (char-code val) type-bits) (loadi dest (logior (ash (char-code val) type-bits)
character-type)))) character-type))))
......
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