Skip to content
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

Don't affect memory on partial out-of-bounds stores #439

Merged
merged 2 commits into from
Mar 10, 2017
Merged

Conversation

rossberg
Copy link
Member

@rossberg rossberg commented Mar 2, 2017

Addresses #438.

)
(func (export "i64.store") (param $a i32) (param $v i64)
(i64.store (get_local $a) (get_local $v))
)
Copy link
Member

Choose a reason for hiding this comment

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

I suggest testing f32 and f64 stores too, since it's not uncommon for JIT implementations to handle those separately from integer stores.

Copy link
Member Author

Choose a reason for hiding this comment

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

Right, done.

@gahaas
Copy link
Collaborator

gahaas commented Mar 10, 2017

lgtm

@rossberg rossberg merged commit e077866 into master Mar 10, 2017
@rossberg rossberg deleted the memtrap branch March 10, 2017 11:57
rossberg added a commit that referenced this pull request Mar 10, 2017
rossberg added a commit that referenced this pull request Mar 10, 2017
dhil pushed a commit to dhil/webassembly-spec that referenced this pull request Oct 20, 2023
[test] Add boundary cast tests for ToWebAssemblyValue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants