diff options
| author | Vibhav Pant | 2017-02-11 23:09:47 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2017-02-11 23:09:47 +0530 |
| commit | a35335c767fd7915e4203b3bba60d9c66df7a116 (patch) | |
| tree | 8d9527deb3c869d75b229beac7aaf2ad759e5357 /src/bytecode.c | |
| parent | 245fb2529bc4394003a020d6c43b8bcc1d6237ba (diff) | |
| download | emacs-a35335c767fd7915e4203b3bba60d9c66df7a116.tar.gz emacs-a35335c767fd7915e4203b3bba60d9c66df7a116.zip | |
src/bytecode.c (exec_byte_code): Remove unnecessary (e)assert.
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index 8bc1ecfeaa5..156265faeea 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -1422,11 +1422,9 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth, | |||
| 1422 | Lisp_Object v1 = POP; | 1422 | Lisp_Object v1 = POP; |
| 1423 | ptrdiff_t i; | 1423 | ptrdiff_t i; |
| 1424 | struct Lisp_Hash_Table *h = XHASH_TABLE(jmp_table); | 1424 | struct Lisp_Hash_Table *h = XHASH_TABLE(jmp_table); |
| 1425 | /* Hash tables for switch are declared with :size set to the | ||
| 1426 | exact number of cases. */ | ||
| 1427 | if (BYTE_CODE_SAFE) | ||
| 1428 | eassert (HASH_TABLE_SIZE (h) == h->count); | ||
| 1429 | 1425 | ||
| 1426 | /* h->count is a faster approximation for HASH_TABLE_SIZE (h) | ||
| 1427 | here. */ | ||
| 1430 | if (h->count <= 5) | 1428 | if (h->count <= 5) |
| 1431 | { /* Do a linear search if there are not many cases | 1429 | { /* Do a linear search if there are not many cases |
| 1432 | FIXME: 5 is arbitrarily chosen. */ | 1430 | FIXME: 5 is arbitrarily chosen. */ |