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

Fixed %check-bound to error if the index is >= the length instead of just >

the length.
parent 605d646d
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/array.lisp,v 1.2 1990/12/04 20:58:08 wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/array.lisp,v 1.3 1991/03/07 18:42:29 wlott Exp $
;;;
;;; This file contains the SPARC definitions for array operations.
;;;
......@@ -94,7 +94,7 @@
(let ((error (generate-error-code vop invalid-array-index-error
array bound index)))
(inst cmp index bound)
(inst b :gtu error)
(inst b :geu error)
(inst nop)
(move result index))))
......
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