Skip to content

Conversation

@rossberg
Copy link
Member

To adjust with AstSemantics and spec, see #658.

@ghost
Copy link

ghost commented Apr 21, 2016

Personally I see little compelling use case for this and wasm already has local variables to meet the use case which are needed anyway for dealing with multiple values.

I would be interested to know the current thinking on an 'operator table' which might allow developers to explore a br_table opcode without a value even with this change and to allow both options to be explored?

@kripken
Copy link
Member

kripken commented Apr 21, 2016

lgtm

@JSStats: some investigation of the benefits of br values is now in #667 (not specifically for br_table though).

@lukewagner
Copy link
Member

lgtm

@titzer
Copy link

titzer commented Apr 25, 2016

lgtm

@titzer titzer merged commit f28dd7e into binary_0xb Apr 25, 2016
@jfbastien jfbastien deleted the br_table_arg branch April 25, 2016 18:26
lukewagner added a commit that referenced this pull request Apr 29, 2016
* Merge pull request #648 from WebAssembly/current_memory

Add current_memory operator

* Reorder section size field (#639)

* Prettify section names (#638)

* Extensible encoding of function signatures (#640)

* Prettify section names

* Restructure encoding of function signatures

* Revert "[Binary 11] Update the version number to 0xB."

* Leave index space for growing the number of base types

* Comments addressed

* clarify how export/import names convert to JS strings (#569) (#573)

* When embedded in the web, clarify how export/import names convert to JS strings (#569)

* Fixes suggested by @jf

* Address more feedback

Added a link to http://monsur.hossa.in/2012/07/20/utf-8-in-javascript.html.  Simplified the decoding algorithm thanks to Luke's feedback.

* Access to proprietary APIs apart from HTML5 (#656)

* comments

* Merge pull request #641 from WebAssembly/postorder_opcodes

Postorder opcodes

* fix some text that seems to be in the wrong order (#670)

* Clarify that br_table has a branch argument (#664)

* Add explicit argument counts (#672)

* Add explicit arities

* Rename

* Replace uint8 with varint7 in form field (#662)

This needs to be variable-length.
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.

4 participants