From d4d9f86adabf9cdaad80e1fe8f93c015867c3a51 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Thu, 7 Mar 1991 18:42:29 +0000 Subject: [PATCH] Fixed %check-bound to error if the index is >= the length instead of just > the length. --- compiler/sparc/array.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/sparc/array.lisp b/compiler/sparc/array.lisp index 3266adf0f..47ba3b7bf 100644 --- a/compiler/sparc/array.lisp +++ b/compiler/sparc/array.lisp @@ -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)))) -- GitLab