diff options
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index 5d94cb0fb39..b4a5354a0a4 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -447,8 +447,8 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth, | |||
| 447 | #ifdef BYTE_CODE_SAFE | 447 | #ifdef BYTE_CODE_SAFE |
| 448 | int const_length = XVECTOR (vector)->size; | 448 | int const_length = XVECTOR (vector)->size; |
| 449 | Lisp_Object *stacke; | 449 | Lisp_Object *stacke; |
| 450 | #endif | ||
| 451 | int bytestr_length; | 450 | int bytestr_length; |
| 451 | #endif | ||
| 452 | struct byte_stack stack; | 452 | struct byte_stack stack; |
| 453 | Lisp_Object *top; | 453 | Lisp_Object *top; |
| 454 | Lisp_Object result; | 454 | Lisp_Object result; |
| @@ -475,7 +475,9 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth, | |||
| 475 | convert them back to the originally intended unibyte form. */ | 475 | convert them back to the originally intended unibyte form. */ |
| 476 | bytestr = Fstring_as_unibyte (bytestr); | 476 | bytestr = Fstring_as_unibyte (bytestr); |
| 477 | 477 | ||
| 478 | #ifdef BYTE_CODE_SAFE | ||
| 478 | bytestr_length = SBYTES (bytestr); | 479 | bytestr_length = SBYTES (bytestr); |
| 480 | #endif | ||
| 479 | vectorp = XVECTOR (vector)->contents; | 481 | vectorp = XVECTOR (vector)->contents; |
| 480 | 482 | ||
| 481 | stack.byte_string = bytestr; | 483 | stack.byte_string = bytestr; |
| @@ -936,12 +938,12 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth, | |||
| 936 | 938 | ||
| 937 | case Bsave_window_excursion: /* Obsolete since 24.1. */ | 939 | case Bsave_window_excursion: /* Obsolete since 24.1. */ |
| 938 | { | 940 | { |
| 939 | register int count = SPECPDL_INDEX (); | 941 | register int count1 = SPECPDL_INDEX (); |
| 940 | record_unwind_protect (Fset_window_configuration, | 942 | record_unwind_protect (Fset_window_configuration, |
| 941 | Fcurrent_window_configuration (Qnil)); | 943 | Fcurrent_window_configuration (Qnil)); |
| 942 | BEFORE_POTENTIAL_GC (); | 944 | BEFORE_POTENTIAL_GC (); |
| 943 | TOP = Fprogn (TOP); | 945 | TOP = Fprogn (TOP); |
| 944 | unbind_to (count, TOP); | 946 | unbind_to (count1, TOP); |
| 945 | AFTER_POTENTIAL_GC (); | 947 | AFTER_POTENTIAL_GC (); |
| 946 | break; | 948 | break; |
| 947 | } | 949 | } |