mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(byte-compile-lapcode): Signal overflow.
This commit is contained in:
parent
78176e6906
commit
8476cfaf3d
2 changed files with 7 additions and 1 deletions
|
|
@ -854,7 +854,9 @@ otherwise pop it")
|
|||
(t ; Absolute jump
|
||||
(setq pc (car (cdr (car bytes)))) ; Pick PC from tag
|
||||
(setcar (cdr bytes) (logand pc 255))
|
||||
(setcar bytes (lsh pc -8))))
|
||||
(setcar bytes (lsh pc -8))
|
||||
;; FIXME: Replace this by some workaround.
|
||||
(if (> (car bytes) 255) (error "Bytecode overflow"))))))
|
||||
(setq patchlist (cdr patchlist))))
|
||||
(apply 'unibyte-string (nreverse bytes))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue