added code to shift a large negative integer when STIX_LIMIT_OBJ_SIZE is not defined

This commit is contained in:
hyunghwan.chung
2015-12-24 14:11:04 +00:00
parent 2022ac965b
commit 1e7be310fc
3 changed files with 443 additions and 227 deletions

View File

@ -57,7 +57,8 @@
/* limit the maximum object size such that:
* 1. an index to an object field can be represented in a small integer.
* 2. the maximum number of bit shifts can be represented in the stix_oow_t type.
* 2. the maximum number of bits including bit-shifts can be represented
* in the stix_oow_t type.
*/
#define STIX_LIMIT_OBJ_SIZE