镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Move typeidx before offset in memarg encoding - #11

Open
brendandahl wants to merge 1 commit into
mainfrom
fix-typeidx
Open

brendandahl wants to merge 1 commit into
mainfrom
fix-typeidx

Conversation

@brendandahl

Copy link
Copy Markdown
Collaborator

Place the typeidx immediate between flags and offset in memarg so its position matches memidx when bit 6 of flags is set.

Fixes #10

Place the typeidx immediate between flags and offset in memarg so its
position matches memidx when bit 6 of flags is set.

Fixes #10

@alexcrichton alexcrichton left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@alexcrichton

Copy link
Copy Markdown
Contributor

Oh also, for the future, and if you're up for it, it might make sense to add some (module binary ...) tests for this too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Binary format bikeshed: where the typeidx immediate is located

2 participants