forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate that allocations produce non-nullable references (WebAssembl…
…y#7346) For `struct.new`, `array.new`, `ref.func`, `ref.i31`, `cont.new`, and `cont.bind`, check in the validator that the result type is a non-nullable reference. This ensures that we have the most precise possible type information for these instructions. The generic stale type checker does not check this because finalizing these expressions does not change their types.
- Loading branch information
Showing
1 changed file
with
61 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters