Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Wasm: change NRE handling from trap to exception#8096

Merged
jkotas merged 2 commits intodotnet:masterfrom
yowl:nre
Apr 19, 2020
Merged

Wasm: change NRE handling from trap to exception#8096
jkotas merged 2 commits intodotnet:masterfrom
yowl:nre

Conversation

@yowl
Copy link
Copy Markdown
Contributor

@yowl yowl commented Apr 19, 2020

This PR updates NullReferenceException handling from an LLVM trap to a RhpThrowEx. Also added the check to getting field addresses as noticed that was missing. Just 2 basic tests. At some point I suppose Wasm can mature into using the existing tests rather than the HelloWorld bucket.

@yowl yowl mentioned this pull request Apr 19, 2020
Copy link
Copy Markdown
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks!

@jkotas jkotas merged commit 191a3c1 into dotnet:master Apr 19, 2020
@yowl yowl deleted the nre branch April 19, 2020 23:19
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