Stream: git-wasmtime

Topic: wasmtime / PR #1969 wasmtime: Implement `global.{get,set}...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2020 at 17:45):

fitzgen opened PR #1969 from externref-globals to main:

We use libcalls to implement these -- unlike table.{get,set}, for which we
create inline JIT fast paths -- because no known toolchain actually uses
externref globals.

Part of #929

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2020 at 17:45):

fitzgen requested alexcrichton for a review on PR #1969.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2020 at 17:55):

fitzgen updated PR #1969 from externref-globals to main:

We use libcalls to implement these -- unlike table.{get,set}, for which we
create inline JIT fast paths -- because no known toolchain actually uses
externref globals.

Part of #929

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2020 at 18:06):

alexcrichton submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2020 at 18:06):

alexcrichton submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2020 at 18:06):

alexcrichton created PR Review Comment:

Could this also assert that gc_count.get() is 0 before the call?

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2020 at 18:06):

alexcrichton created PR Review Comment:

Like above, could this assert that it's not touched before the call?

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2020 at 19:58):

fitzgen updated PR #1969 from externref-globals to main:

We use libcalls to implement these -- unlike table.{get,set}, for which we
create inline JIT fast paths -- because no known toolchain actually uses
externref globals.

Part of #929

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2020 at 20:41):

fitzgen requested alexcrichton for a review on PR #1969.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2020 at 21:04):

alexcrichton merged PR #1969.


Last updated: Nov 22 2024 at 17:03 UTC