-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The heap and block type encodings both use signed values, where negative values represent well-known values, and non-negative values are indexes into the type section. This commit fixes a bug where the indexes were written with LEB128 encoding (instead of SLEB128 encoding). The difference is first noticeable at index 64, where the unsigned encoding is `0x40`, but the unsigned encoding is `0xc0 0x00`.
- Loading branch information
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters