Skip to content

Implement type imports and exports #7330

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

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Fix Subtypes::getMaxDepths
  • Loading branch information
vouillon committed Feb 27, 2025
commit bc7c3f8c68f1edee86fe5337a1e13cc6b3faeb77
2 changes: 2 additions & 0 deletions src/ir/subtypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ struct SubTypes {
case HeapTypeKind::Cont:
WASM_UNREACHABLE("TODO: cont");
case HeapTypeKind::Import:
basic = type.getImport().bound;
break;
case HeapTypeKind::Basic:
WASM_UNREACHABLE("unexpected kind");
}
Expand Down