summaryrefslogtreecommitdiff
path: root/py/gc.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-02-04 15:27:53 +1100
committerDamien George <damien@micropython.org>2021-02-04 22:46:42 +1100
commit8a41ee19c22d7bb85fcbd90c9d06b9937a1b8c87 (patch)
treee62d246dc8a6a7e8016e3dc6d5c3aff698b66b21 /py/gc.c
parent7c4435459261f1ea93577938b1ab281239d159e7 (diff)
py: Remove BITS_PER_WORD definition.
It's only used in one location, to test if << or >> will overflow when shifting mp_uint_t. For such a test it's clearer to use sizeof(lhs_val), which will be valid even if the type of lhs_val changes. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/gc.c')
0 files changed, 0 insertions, 0 deletions