Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cmucl
cmucl
Commits
b645c555
Commit
b645c555
authored
Nov 10, 1990
by
wlott
Browse files
typo.
parent
5d8f44fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/array-tran.lisp
View file @
b645c555
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/array-tran.lisp,v 1.
1
1990/11/10 1
8:39:33
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/array-tran.lisp,v 1.
2
1990/11/10 1
9:20:54
wlott Exp $
;;;
;;; This file contains array specific optimizers and transforms.
;;;
...
...
@@ -357,13 +357,13 @@
(
give-up
))
(
let
((
dims
(
array-type-dimensions
array-type
)))
(
unless
(
listp
dims
)
(
give-up
"Can't tell the rank at compile time."
)
(
if
(
member
'*
dims
)
(
do
((
form
1
`
(
truly-the
index
(
*
(
array-dimension
array
,
i
)
,
form
)))
(
i
0
(
1+
i
)))
((
=
i
(
length
dims
))
form
))
(
reduce
#'
*
dims
)))))
)
(
give-up
"Can't tell the rank at compile time."
)
)
(
if
(
member
'*
dims
)
(
do
((
form
1
`
(
truly-the
index
(
*
(
array-dimension
array
,
i
)
,
form
)))
(
i
0
(
1+
i
)))
((
=
i
(
length
dims
))
form
))
(
reduce
#'
*
dims
)))))
;;; ARRAY-HAS-FILL-POINTER-P -- transform.
;;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment