Skip to content

Add a version of Angrybots with most of the 0xc changes.#13

Closed
sunfishcode wants to merge 1 commit intomasterfrom
mostly-0xc
Closed

Add a version of Angrybots with most of the 0xc changes.#13
sunfishcode wants to merge 1 commit intomasterfrom
mostly-0xc

Conversation

@sunfishcode
Copy link
Member

This adds 0xc changes, except block signatures.

Changes:

  • converted loops to not use their exit label
  • updated indirect_call operand order to put the callee last
  • inserted a gratuitous dependence on stack-machine rules (see the very
    first set_local)
  • inserted a gratuitous use of branch-to-function scope
  • optimized away unnecessary blocks
  • new "flat" text format

This adds 0xc changes, except block signatures.

Changes:

 - converted loops to not use their exit label
 - updated indirect_call operand order to put the callee last
 - inserted a gratuitous dependence on stack-machine rules (see the very
   first set_local)
 - inserted a gratuitous use of branch-to-function scope
 - optimized away unnecessary `blocks`
 - new "flat" text format
@s3ththompson
Copy link
Member

Do you want me to update the instantiation code to check for 0xC support and use this? Or should we wait to merge this until block signatures are added?

@sunfishcode
Copy link
Member Author

I think we should wait until block signatures are in. I posted this now because people expressed interested in it, but I hope to find time to add block signatures before long.

@sunfishcode
Copy link
Member Author

This PR is now subsumed by https://github.com/WebAssembly/webassembly.github.io/pull/14 which includes block signatures and also section opcodes, and also a candidate binary image.

@sunfishcode sunfishcode closed this Sep 9, 2016
@sunfishcode sunfishcode deleted the mostly-0xc branch September 14, 2016 19:03
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