Skip to content

Add support for reftypes for Binaryen's InstrumentLocals pass#9612

Merged
aheejin merged 2 commits intoemscripten-core:incomingfrom
aheejin:instrument_exnref
Oct 11, 2019
Merged

Add support for reftypes for Binaryen's InstrumentLocals pass#9612
aheejin merged 2 commits intoemscripten-core:incomingfrom
aheejin:instrument_exnref

Conversation

@aheejin
Copy link
Copy Markdown
Member

@aheejin aheejin commented Oct 10, 2019

This adds support for anyref and exnref types for Binaryen's
InstrumentLocals pass. But at this point it is hard to add a test in
emscripten side because anyref is not generated by C/C++ programs and
exnref is used with exception handling feature, which has not been
added. And anyway there are no tests for existing get_ and set_
functions for integer/float types in the emscripten side.

Companion to WebAssembly/binaryen#2375.

This adds support for anyref and exnref types for Binaryen's
InstrumentLocals pass. But at this point it is hard to add a test in
emscripten side because `anyref` is not generated by C/C++ programs and
`exnref` is used with exception handling feature, which has not been
added. And anyway there are no tests for existing `get_` and `set_`
functions for integer/float types in the emscripten side.

Companion to WebAssembly/binaryen#2375.
@aheejin
Copy link
Copy Markdown
Member Author

aheejin commented Oct 10, 2019

Sorry, it's not ready yet. I'll post again when it's ready for review.

@aheejin
Copy link
Copy Markdown
Member Author

aheejin commented Oct 10, 2019

I think it's ready. I thought it was not because of the wasm-dis error I talked about with @kripken in person... but it turned out it's not related to this anyway.

@aheejin aheejin merged commit fdc8bd1 into emscripten-core:incoming Oct 11, 2019
@aheejin aheejin deleted the instrument_exnref branch October 11, 2019 03:39
belraquib pushed a commit to belraquib/emscripten that referenced this pull request Dec 23, 2020
…pten-core#9612)

This adds support for anyref and exnref types for Binaryen's
InstrumentLocals pass. But at this point it is hard to add a test in
emscripten side because `anyref` is not generated by C/C++ programs and
`exnref` is used with exception handling feature, which has not been
added. And anyway there are no tests for existing `get_` and `set_`
functions for integer/float types in the emscripten side.

Companion to WebAssembly/binaryen#2375.
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