Add sanity checks for Bswitch hash tables
commit8929746489bb257d1e29c3bab629b3b67e3117d2
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Feb 2017 15:52:57 +0000 (16 07:52 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Feb 2017 15:54:12 +0000 (16 07:54 -0800)
treef8da7874aa0e643bf9450fb358c9a9e6a4810559
parent064541af6a71bf45d530fe34b7e00c8123ee93d8
Add sanity checks for Bswitch hash tables

* src/bytecode.c (exec_byte_code) [BYTE_CODE_SAFE]:
Check that operand is a hash table and hashes to ints.
src/bytecode.c