emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH]: Add new bytecode op `switch' for implementing branch tables


From: Vibhav Pant
Subject: Re: [PATCH]: Add new bytecode op `switch' for implementing branch tables.
Date: Wed, 8 Feb 2017 23:16:25 +0530

The jump address is stored in the hash table as (tag & 255 . tag >> 8), where tag is the tag number from byte-compile-make-tah. The correct address to jump to is thus calculated in the bytecode VM by car + cdr << 8. Is it possible to make this calculation in bytecomp.el itself without the risk of a potential overflow?

Vibhav Pant
address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]