]> git.eshelyaron.com Git - emacs.git/commit
bytecode.c (exec_byte_code): don't check hash code in linear search.
authorVibhav Pant <vibhavp@gmail.com>
Thu, 9 Feb 2017 13:13:31 +0000 (18:43 +0530)
committerVibhav Pant <vibhavp@gmail.com>
Thu, 9 Feb 2017 13:13:31 +0000 (18:43 +0530)
commit3189f954ebdf739831a40e1b336505da60ea66c6
tree0c4d55a8976b40371dee69d55e5ee66fec1b0086
parentdde800c8c9ea198996229d03df1fc45c7d057339
bytecode.c (exec_byte_code): don't check hash code in linear search.

* src/bytecode.c (exec_byte_code): Don't check that the hash code is
  not nil when linear scanning the jump table. Hash tables for are
  declared with :size as the exact number of cases, so each entry i
  should have a hash code. When BYTE_CODE_SAFE, do it as a sanity
  check.
src/bytecode.c