-
Notifications
You must be signed in to change notification settings - Fork 109
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
Serialize Expressions #513
Comments
See bytecodealliance/wasmtime#1466 (comment). Let me know if the changes I showed there are unsuitable. |
They are. I just landed the similar patch today. Thanks. |
They are unsuitable? write capabilities are already present. This is currently internal, but I don't think there is a need for users to write individual expressions? As I mentioned above the linked comment, references within the expression need to be handled, so they need to be written at the same time as writing the DIE they reference. I don't see a way to make this serializable. Can you be more specific about what you think needs to be done to resolve this issue? |
Sorry. The changes are suitable.
I'm just pointing out that there is |
During migration to 0.20 -> 0.21, I found it impossible to rounds trip
Expression
. There isExpression::raw()
but I could not find "into_raw" or write capabilities.See requirement at https://github.com/bytecodealliance/wasmtime/blob/7d88384c0fe087cd80a3d8ae1bbc80950b2b7d91/cranelift/codegen/src/isa/unwind/systemv.rs#L25
The text was updated successfully, but these errors were encountered: