projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.31.22: improved SAP-{REF,SET}-* for x86-64
[sbcl.git]
/
src
/
code
/
mips-vm.lisp
diff --git
a/src/code/mips-vm.lisp
b/src/code/mips-vm.lisp
index
936201d
..
df647eb
100644
(file)
--- a/
src/code/mips-vm.lisp
+++ b/
src/code/mips-vm.lisp
@@
-7,17
+7,11
@@
(define-alien-type os-context-register-t unsigned-long-long)
\f
(define-alien-type os-context-register-t unsigned-long-long)
\f
-;;;; MACHINE-TYPE and MACHINE-VERSION
+;;;; MACHINE-TYPE
(defun machine-type ()
"Returns a string describing the type of the local machine."
"MIPS")
(defun machine-type ()
"Returns a string describing the type of the local machine."
"MIPS")
-
-;;; support for CL:MACHINE-VERSION defined OAOO elsewhere
-(defun get-machine-version ()
- #!+little-endian "little-endian"
- #!-little-endian "big-endian")
-
\f
;;;; FIXUP-CODE-OBJECT
\f
;;;; FIXUP-CODE-OBJECT
@@
-26,8
+20,7
@@
(unless (zerop (rem offset n-word-bytes))
(error "Unaligned instruction? offset=#x~X." offset))
(sb!sys:without-gcing
(unless (zerop (rem offset n-word-bytes))
(error "Unaligned instruction? offset=#x~X." offset))
(sb!sys:without-gcing
- (let ((sap (truly-the system-area-pointer
- (%primitive sb!c::code-instructions code))))
+ (let ((sap (%primitive sb!c::code-instructions code)))
(ecase kind
(:jump
(aver (zerop (ash value -28)))
(ecase kind
(:jump
(aver (zerop (ash value -28)))