-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src: pack struct by sorting fields #36
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM in general, but it has to cover bitcode as well! C headers apply both to C and bitcode output.
Sorry, I do not think that I understand. I should change something in bitcode for fixing tests? |
Not in the tests. The order of fields has to be changed in the bitcode generator. |
Thank you.
llparse/src/implementation/js/index.ts Line 47 in 564e5c4
|
Well, maybe not in JS, but you got it right! |
I fixed code for |
Issue #35
Decide just drop code, interesting thing.
Fields in struct same, but by some cases errors on tests. Currently do not know llparse too good for say why 🤔
btw, should not i8/i16/i32/i64 be u8/u16/u32/u64?