Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0df1eac5
Commit
0df1eac5
authored
Apr 23, 2011
by
Paul Eggert
Browse files
* bytecode.c (exec_byte_code): Don't use XVECTOR before CHECK_VECTOR.
parent
c38918db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/bytecode.c
src/bytecode.c
+5
-1
No files found.
src/ChangeLog
View file @
0df1eac5
2011-04-24 Paul Eggert <eggert@cs.ucla.edu>
* bytecode.c (exec_byte_code): Don't use XVECTOR before CHECK_VECTOR.
2011-04-21 Paul Eggert <eggert@cs.ucla.edu>
Make the Lisp reader and string-to-float more consistent.
...
...
src/bytecode.c
View file @
0df1eac5
...
...
@@ -444,7 +444,7 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
/* Lisp_Object v1, v2; */
Lisp_Object
*
vectorp
;
#ifdef BYTE_CODE_SAFE
int
const_length
=
XVECTOR
(
vector
)
->
size
;
int
const_length
;
Lisp_Object
*
stacke
;
int
bytestr_length
;
#endif
...
...
@@ -466,6 +466,10 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
CHECK_VECTOR
(
vector
);
CHECK_NUMBER
(
maxdepth
);
#ifdef BYTE_CODE_SAFE
const_length
=
XVECTOR
(
vector
)
->
size
;
#endif
if
(
STRING_MULTIBYTE
(
bytestr
))
/* BYTESTR must have been produced by Emacs 20.2 or the earlier
because they produced a raw 8-bit string for byte-code and now
...
...
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