Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Make ref.cast succeed on null #161

Merged
merged 1 commit into from
Nov 19, 2020
Merged

Make ref.cast succeed on null #161

merged 1 commit into from
Nov 19, 2020

Conversation

rossberg
Copy link
Member

This changes ref.cast to propagate null instead of trapping. Addresses #152.

(For now, not introducing two variants of the instruction -- let's see how common the other case really is to justify duplication.)

@rossberg rossberg requested a review from titzer November 19, 2020 06:42
Copy link
Contributor

@titzer titzer left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

@rossberg rossberg merged commit 75a9440 into master Nov 19, 2020
@rossberg rossberg deleted the cast.null branch November 19, 2020 08:57
@rossberg rossberg mentioned this pull request Nov 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants