Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cmucl
cmucl
Commits
6ee63330
Commit
6ee63330
authored
May 26, 2013
by
Raymond Toy
Browse files
Use BYTE-BASH-COPY too when CONCATENATE'ing simple-strings.
parent
8f5653cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/compiler/generic/vm-tran.lisp
View file @
6ee63330
...
...
@@ -289,9 +289,9 @@
(
let
((
n-seq
(
gensym
))
(
n-length
(
gensym
)))
(
args
n-seq
)
(
lets
`
(
,
n-length
(
the
index
(
*
(
length
,
n-seq
)
vm:char-b
it
s
))))
(
lets
`
(
,
n-length
(
the
index
(
*
(
length
,
n-seq
)
vm:char-b
yte
s
))))
(
all-lengths
n-length
)
(
forms
`
((
b
it
-bash-copy
,
n-seq
vector-data-b
it
-offset
(
forms
`
((
b
yte
-bash-copy
,
n-seq
vector-data-b
yte
-offset
res
start
,
n-length
)
(
start
(
+
start
,
n-length
))))))
...
...
@@ -310,9 +310,9 @@
(
declare
(
ignore
rtype
))
(
let*
(
,@
(
lets
)
(
res
(
make-string
(
truncate
(
the
index
(
+
,@
(
all-lengths
)))
vm:char-b
it
s
))))
vm:char-b
yte
s
))))
(
declare
(
type
index
,@
(
all-lengths
)))
(
let
((
start
vector-data-b
it
-offset
))
(
let
((
start
vector-data-b
yte
-offset
))
,@
(
nestify
(
forms
)))
res
))))
result
))))
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment