Skip to content

wasm-dis - #100

Merged
kripken merged 39 commits into
masterfrom
wasm-dis
Jan 15, 2016
Merged

kripken merged 39 commits into
masterfrom
wasm-dis

Conversation

@kripken

@kripken kripken commented Jan 13, 2016

Copy link
Copy Markdown
Member

wip

@kripken kripken changed the title wasm-dis: initial work. building, but not tested yet. wasm-dis Jan 14, 2016
Comment thread src/wasm-binary.h

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

byte & ~128 ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don't know... looks clearer to me my way. Do you feel strongly?

@kripken

kripken commented Jan 15, 2016

Copy link
Copy Markdown
Member Author

In addition to those updates, I noticed a few bugs and fixes those. There is also now verification of the output of text->binary->text on the initial set of testcases, and it looks pretty good, so this is in fair shape (but not tested on spec test suite yet).

Comment thread src/wasm-binary.h

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

auto *

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

hmm, this is a super-common pattern across binaryen - calls to allocator.alloc<T>, returning a pointer. I don't feel auto* adds anything there?

@jfbastien

Copy link
Copy Markdown
Member

lgtm

kripken added a commit that referenced this pull request Jan 15, 2016
@kripken
kripken merged commit 30abeaa into master Jan 15, 2016
@jfbastien
jfbastien deleted the wasm-dis branch January 15, 2016 01:49
@kripken kripken mentioned this pull request Jan 15, 2016
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