(In reply to jerome from comment #4) > uintptr_t wideValue = (uintptr_t) ((int32_t) taggedValue); IIRC older versions of C might have some undefined behavior associated with cast or signs, hence we apply some shift operation (just to be sure).
Bug 1857829 Comment 5 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to jerome from comment #4) > uintptr_t wideValue = (uintptr_t) ((int32_t) taggedValue); IIRC older versions of C might have some undefined behavior associated with cast of signed, hence we apply some shift operation (just to be sure).