-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
remove deserialize mode MODULE_POSTWORK #18534
Conversation
it seems to be unnecessary fix #18343
CI failure was unrelated: |
jl_tupletype_t *simpletype; | ||
} def[100]; | ||
size_t count; | ||
} linkedlist_t; |
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.
maybe this file should just be c++ then?
@@ -1714,15 +1686,16 @@ static jl_value_t *jl_deserialize_value_(jl_serializer_state *s, jl_value_t *vta | |||
else if (vtag == (jl_value_t*)jl_datatype_type || vtag == (jl_value_t*)SmallDataType_tag) { | |||
int32_t sz = (vtag == (jl_value_t*)SmallDataType_tag ? read_uint8(s->s) : read_int32(s->s)); | |||
jl_value_t *v = jl_gc_alloc(ptls, sz, NULL); | |||
jl_set_typeof(v, (void*)(intptr_t)0x40); |
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.
does 0x40 have a define'd name?
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.
yes or no?
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.
no, it's just a random garbage value (0x4, since it's the 4th one added here), like setting it to NULL, but more likely to fail
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.
that should be a comment
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.
add a comment here
that pkg error is #16555 what was MODE_MODULE_POSTWORK supposed to be for then? |
trying to be more efficient (another of my recent patches mostly resolved that though), and to avoid writing the linked list implementation |
being backported in #18869 |
it seems to be unnecessary
fix #18343