diff options
| author | Ken Raeburn | 2002-07-19 14:26:46 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2002-07-19 14:26:46 +0000 |
| commit | 33b6c007b50f322dba803a6ce6e483d564e7b320 (patch) | |
| tree | 6441be7bba18f3927ba410b66684da9afb390306 /src/bytecode.c | |
| parent | e0a91707108752d6f9656a048ca87a407267ccad (diff) | |
| download | emacs-33b6c007b50f322dba803a6ce6e483d564e7b320.tar.gz emacs-33b6c007b50f322dba803a6ce6e483d564e7b320.zip | |
(struct byte_stack): Pointers into byte string now
point to const.
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index bcb80596944..82051779e8e 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -239,7 +239,7 @@ struct byte_stack | |||
| 239 | { | 239 | { |
| 240 | /* Program counter. This points into the byte_string below | 240 | /* Program counter. This points into the byte_string below |
| 241 | and is relocated when that string is relocated. */ | 241 | and is relocated when that string is relocated. */ |
| 242 | unsigned char *pc; | 242 | const unsigned char *pc; |
| 243 | 243 | ||
| 244 | /* Top and bottom of stack. The bottom points to an area of memory | 244 | /* Top and bottom of stack. The bottom points to an area of memory |
| 245 | allocated with alloca in Fbyte_code. */ | 245 | allocated with alloca in Fbyte_code. */ |
| @@ -249,7 +249,7 @@ struct byte_stack | |||
| 249 | Storing this here protects it from GC because mark_byte_stack | 249 | Storing this here protects it from GC because mark_byte_stack |
| 250 | marks it. */ | 250 | marks it. */ |
| 251 | Lisp_Object byte_string; | 251 | Lisp_Object byte_string; |
| 252 | unsigned char *byte_string_start; | 252 | const unsigned char *byte_string_start; |
| 253 | 253 | ||
| 254 | /* The vector of constants used during byte-code execution. Storing | 254 | /* The vector of constants used during byte-code execution. Storing |
| 255 | this here protects it from GC because mark_byte_stack marks it. */ | 255 | this here protects it from GC because mark_byte_stack marks it. */ |