aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index 7f58b4d17ab..bcb80596944 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -327,10 +327,10 @@ unmark_byte_stack ()
327 XUNMARK (stack->byte_string); 327 XUNMARK (stack->byte_string);
328 XUNMARK (stack->constants); 328 XUNMARK (stack->constants);
329 329
330 if (stack->byte_string_start != XSTRING (stack->byte_string)->data) 330 if (stack->byte_string_start != SDATA (stack->byte_string))
331 { 331 {
332 int offset = stack->pc - stack->byte_string_start; 332 int offset = stack->pc - stack->byte_string_start;
333 stack->byte_string_start = XSTRING (stack->byte_string)->data; 333 stack->byte_string_start = SDATA (stack->byte_string);
334 stack->pc = stack->byte_string_start + offset; 334 stack->pc = stack->byte_string_start + offset;
335 } 335 }
336 } 336 }
@@ -460,11 +460,11 @@ If the third argument is incorrect, Emacs may crash. */)
460 convert them back to the originally intended unibyte form. */ 460 convert them back to the originally intended unibyte form. */
461 bytestr = Fstring_as_unibyte (bytestr); 461 bytestr = Fstring_as_unibyte (bytestr);
462 462
463 bytestr_length = STRING_BYTES (XSTRING (bytestr)); 463 bytestr_length = SBYTES (bytestr);
464 vectorp = XVECTOR (vector)->contents; 464 vectorp = XVECTOR (vector)->contents;
465 465
466 stack.byte_string = bytestr; 466 stack.byte_string = bytestr;
467 stack.pc = stack.byte_string_start = XSTRING (bytestr)->data; 467 stack.pc = stack.byte_string_start = SDATA (bytestr);
468 stack.constants = vector; 468 stack.constants = vector;
469 stack.bottom = (Lisp_Object *) alloca (XFASTINT (maxdepth) 469 stack.bottom = (Lisp_Object *) alloca (XFASTINT (maxdepth)
470 * sizeof (Lisp_Object)); 470 * sizeof (Lisp_Object));
@@ -896,7 +896,7 @@ If the third argument is incorrect, Emacs may crash. */)
896 case Btemp_output_buffer_setup: 896 case Btemp_output_buffer_setup:
897 BEFORE_POTENTIAL_GC (); 897 BEFORE_POTENTIAL_GC ();
898 CHECK_STRING (TOP); 898 CHECK_STRING (TOP);
899 temp_output_buffer_setup (XSTRING (TOP)->data); 899 temp_output_buffer_setup (SDATA (TOP));
900 AFTER_POTENTIAL_GC (); 900 AFTER_POTENTIAL_GC ();
901 TOP = Vstandard_output; 901 TOP = Vstandard_output;
902 break; 902 break;