Skip to content

JSString layout is broken #1250

@Vizepi

Description

@Vizepi

JSString::is_wide_char and JSString::atom_type are using uint8_t type instead of uint32_t.

This prevents bitfields to function as intended, and struct ends up being 48 bytes instead of 40 bytes.

I did not investigate further as changing the size of this struct may have side effects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions