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

[spec/interpreter] Correct and test segment offset syntax #663

Merged
merged 3 commits into from
Feb 14, 2018

Conversation

rossberg
Copy link
Member

@rossberg rossberg commented Feb 8, 2018

Addresses #662 and adds tests.

@rossberg rossberg requested a review from binji February 8, 2018 22:25
@rossberg
Copy link
Member Author

@binji, friendly ping requesting review.


;; Syntax

(module
Copy link
Member

Choose a reason for hiding this comment

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

Some of these tests seem to be duplicated in memory.wast, is it worth moving these tests there or removing those instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. I moved all data-specific tests over and added quite a few more. PTAL

Copy link
Member

@binji binji left a comment

Choose a reason for hiding this comment

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

lgtm


(module
(memory 2)
(global (import "spectest" "global") i32)
Copy link
Member

Choose a reason for hiding this comment

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

Needs to be global_i32 now, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Rebased and adjusted.

@rossberg rossberg merged commit 1a03844 into master Feb 14, 2018
@rossberg rossberg deleted the spec.offset branch February 14, 2018 19:34
@jcmellado jcmellado mentioned this pull request Mar 1, 2018
rossberg pushed a commit that referenced this pull request Mar 1, 2018
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