aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index 581e16678a6..3bbd8831633 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -444,7 +444,7 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
444 /* Lisp_Object v1, v2; */ 444 /* Lisp_Object v1, v2; */
445 Lisp_Object *vectorp; 445 Lisp_Object *vectorp;
446#ifdef BYTE_CODE_SAFE 446#ifdef BYTE_CODE_SAFE
447 int const_length = XVECTOR (vector)->size; 447 int const_length;
448 Lisp_Object *stacke; 448 Lisp_Object *stacke;
449 int bytestr_length; 449 int bytestr_length;
450#endif 450#endif
@@ -466,6 +466,10 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
466 CHECK_VECTOR (vector); 466 CHECK_VECTOR (vector);
467 CHECK_NUMBER (maxdepth); 467 CHECK_NUMBER (maxdepth);
468 468
469#ifdef BYTE_CODE_SAFE
470 const_length = XVECTOR (vector)->size;
471#endif
472
469 if (STRING_MULTIBYTE (bytestr)) 473 if (STRING_MULTIBYTE (bytestr))
470 /* BYTESTR must have been produced by Emacs 20.2 or the earlier 474 /* BYTESTR must have been produced by Emacs 20.2 or the earlier
471 because they produced a raw 8-bit string for byte-code and now 475 because they produced a raw 8-bit string for byte-code and now