-
Notifications
You must be signed in to change notification settings - Fork 837
Initial support for struct.wait #8346
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
base: main
Are you sure you want to change the base?
Changes from 3 commits
1dc0450
c074452
62a3c9b
57914e2
f863dfb
484f909
d2308ce
40ed173
46da187
e53b475
9410fdd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1357,6 +1357,16 @@ template<typename Subtype> struct ChildTyper : OverriddenVisitor<Subtype> { | |
| } | ||
| note(&curr->cont, Type(*ct, Nullable)); | ||
| } | ||
|
|
||
| void visitStructWait(StructWait* curr, | ||
| std::optional<HeapType> ht = std::nullopt) { | ||
| if (!ht) { | ||
| ht = curr->structType; | ||
| } | ||
| note(&curr->ref, Type(*ht, Nullable)); | ||
| note(&curr->expected, Type(Type::BasicType::i32)); | ||
|
||
| note(&curr->timeout, Type(Type::BasicType::i64)); | ||
| } | ||
| }; | ||
|
|
||
| } // namespace wasm | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.