Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Oct 10, 2017

No description provided.

}

// Module-level helpers
static Global* makeGlobal(Name name, WasmType type, Expression* init, bool mutable_) {
Copy link
Member

Choose a reason for hiding this comment

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

you could make the last argument an enum, and then you wouldn't need the comments everywhere.

Copy link
Member Author

@kripken kripken Oct 10, 2017

Choose a reason for hiding this comment

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

Good idea, my instincts here were wrong.

Should the opposite of Mutable be NotMutable, or Immutable?

Copy link
Member

Choose a reason for hiding this comment

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

I'd say Immutable

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, also a search shows that's more common, updated.

@kripken kripken merged commit 110f9bd into master Oct 11, 2017
@kripken kripken deleted the builder branch October 11, 2017 01:53
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