-
Notifications
You must be signed in to change notification settings - Fork 854
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
Changes from 3 commits
1dc0450
c074452
62a3c9b
57914e2
f863dfb
484f909
d2308ce
40ed173
46da187
e53b475
9410fdd
2e0baa6
27249c2
177a5cb
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)); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Comparing this to AtomicWait, I see
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. AtomicWait on memory comes in i32 and i64 variants. So far we only have an i32 variant for waitqueues. |
||
| note(&curr->timeout, Type(Type::BasicType::i64)); | ||
| } | ||
| }; | ||
|
|
||
| } // namespace wasm | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.