Skip to content

Conversation

@wenyongh
Copy link
Collaborator

No description provided.


bh_assert(module_inst_comm->module_type == Wasm_Module_Bytecode
|| module_inst_comm->module_type == Wasm_Module_AoT);

Copy link
Contributor

Choose a reason for hiding this comment

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

if WASMModuleInstance is compatible with both Wasm_Module_Bytecode and Wasm_Module_AoT, does it mean we WASMModuleInstanceCommon is not necessary?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Maybe, but it is used in wasm_export.h, we should carefully check whether we can remove it. My suggestion is to keep it currently, and try to remove it in the future.

@wenyongh wenyongh merged commit 8f9892d into bytecodealliance:dev/refactor_interp_module_inst Sep 26, 2022
@wenyongh wenyongh deleted the dev/refactor_interp_module_inst branch October 3, 2022 14:27
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.

2 participants