fitzgen opened PR #1894 from table-size-and-table-grow
to master
:
(Still doesn't handle
table.grow
forfuncref
s yet, as there are still some open questions about how to represent on-stack, in-Wasmfuncref
s.)Also de-duplicates / cleans up declaring builtin function indices a little bit, so that they aren't so tedious and repetitive.
Part of #929
fitzgen requested alexcrichton for a review on PR #1894.
alexcrichton submitted PR Review.
alexcrichton submitted PR Review.
alexcrichton created PR Review Comment:
Presumably we're going to want to have the table size available inline for
table.get
, and in that case we probably won't have an intrinsic, right?If that's the case could this go ahead and implement the JIT support necessary to do the load inline?
alexcrichton created PR Review Comment:
I'm a bit curious about the ownership here. Presumably it's not safe to
gc
at the beginning of this function, right? Theinit_value
pointer is in the activations table for sure, but there's no guarantee it's reachable from any stack map?
fitzgen submitted PR Review.
fitzgen created PR Review Comment:
Sure thing.
fitzgen created PR Review Comment:
Correct. I should probably add a warning to the docs at the top of this file, like how we warn about traps and potential leaks from skipped
drop
s.
fitzgen submitted PR Review.
fitzgen updated PR #1894 from table-size-and-table-grow
to master
:
(Still doesn't handle
table.grow
forfuncref
s yet, as there are still some open questions about how to represent on-stack, in-Wasmfuncref
s.)Also de-duplicates / cleans up declaring builtin function indices a little bit, so that they aren't so tedious and repetitive.
Part of #929
fitzgen updated PR #1894 from table-size-and-table-grow
to master
:
(Still doesn't handle
table.grow
forfuncref
s yet, as there are still some open questions about how to represent on-stack, in-Wasmfuncref
s.)Also de-duplicates / cleans up declaring builtin function indices a little bit, so that they aren't so tedious and repetitive.
Part of #929
alexcrichton submitted PR Review.
alexcrichton merged PR #1894.
Last updated: Dec 23 2024 at 12:05 UTC