X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fmips-vm.lisp;h=df647ebbef68c1626ca75258317ace3b34d595ac;hb=0c3bbfaa2286626a2d915c8810f690aefc702661;hp=936201deb625c3a7385302fbe935c3d952a3a7b6;hpb=4858ac8509938c327845d0c5deab7164f9e2d741;p=sbcl.git diff --git a/src/code/mips-vm.lisp b/src/code/mips-vm.lisp index 936201d..df647eb 100644 --- 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) -;;;; MACHINE-TYPE and MACHINE-VERSION +;;;; MACHINE-TYPE (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") - ;;;; 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 - (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)))