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

Update function pointers to match design #136

Merged
merged 2 commits into from
Oct 15, 2015
Merged

Conversation

lukewagner
Copy link
Member

This PR updates function pointers semantics to match design/#392. Pretty easy after #133.

List.iter (fun xI -> check_func_type (func xI) s xI.at) xs;
tables @ [s]
let check_elem c x =
require (x.it >= 0 && x.it < List.length c.funcs) x.at
Copy link
Member

Choose a reason for hiding this comment

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

Why not simply do ignore (func c x) ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed

@rossberg
Copy link
Member

LGTM modulo comments

@rossberg
Copy link
Member

LGTM

lukewagner added a commit that referenced this pull request Oct 15, 2015
Update function pointers to match design
@lukewagner lukewagner merged commit 33212db into master Oct 15, 2015
@lukewagner lukewagner deleted the update-func-ptrs branch October 15, 2015 14:24
@lukewagner lukewagner mentioned this pull request Oct 23, 2015
alexcrichton pushed a commit to alexcrichton/spec that referenced this pull request Nov 18, 2019
[test] Integrate tests for f64x2 min/max/abs ops from WAVM
Connicpu pushed a commit to Connicpu/wasm-spec that referenced this pull request Jun 7, 2020
Decoding 64 as an signed LEB will produce the value -64 = 4294967232.
This change adds tests to ensure that the segment is decoded as 64.
dhil pushed a commit to dhil/webassembly-spec that referenced this pull request Mar 2, 2023
This renames existing old proposals by adding a version number to
filenames and adds the current (=soon-to-be-previous) proposal to the
old/folder as well.
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.

2 participants