Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
0d8d0039
Commit
0d8d0039
authored
26 years ago
by
dtc
Browse files
Options
Downloads
Patches
Plain Diff
Disable the immediate SC for the check-bound index argument because
the immediate value can not be represented in the error code.
parent
85cbc689
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/x86/array.lisp
+5
-2
5 additions, 2 deletions
compiler/x86/array.lisp
with
5 additions
and
2 deletions
compiler/x86/array.lisp
+
5
−
2
View file @
0d8d0039
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/x86/array.lisp,v 1.1
3
1998/0
3
/2
1 07:54:36
dtc Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/x86/array.lisp,v 1.1
4
1998/0
7
/2
4 15:21:29
dtc Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -84,12 +84,15 @@
;;;; Bounds checking routine.
;;; Note that the immediate SC for the index argument is disabled
;;; because it is not possible to generate a valid error code SC for
;;; an immediate value.
(
define-vop
(
check-bound
)
(
:translate
%check-bound
)
(
:policy
:fast-safe
)
(
:args
(
array
:scs
(
descriptor-reg
))
(
bound
:scs
(
any-reg
descriptor-reg
))
(
index
:scs
(
any-reg
descriptor-reg
immediate
)
:target
result
))
(
index
:scs
(
any-reg
descriptor-reg
#+
nil
immediate
)
:target
result
))
(
:arg-types
*
positive-fixnum
tagged-num
)
(
:results
(
result
:scs
(
any-reg
descriptor-reg
)))
(
:result-types
positive-fixnum
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment