| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM with a few comments
[wasm][shared] Shared Wasm objects in GotoIfCannotBeHeldWeaklyWhat's with them? This message misses something imo. 😊
Maybe
```suggestion
[wasm][shared] Add handling of shared Wasm objects in GotoIfCannotBeHeldWeakly
```
GotoIf(InstanceTypeEqual(instance_type, WASM_ARRAY_TYPE),
&check_not_in_shared_space);
GotoIf(InstanceTypeEqual(instance_type, WASM_STRUCT_TYPE),
&check_not_in_shared_space);For performance reasons, maybe it would be faster to use `FIRST_WASM_OBJECT_TYPE` and `LAST_WASM_OBJECT_TYPE`, similarly to what we are doing in `IsDataRefMap` in `wasm-lowering-reducer.h`, so we only have a single comparison?
TNode<IntPtrT> page_flags = LoadMemoryChunkFlags(CAST(obj));
GotoIf(WordNotEqual(
WordAnd(page_flags,
IntPtrConstant(MemoryChunk::IN_WRITABLE_SHARED_SPACE)),
IntPtrConstant(0)),This part already appears a few tiems in `code-stub-assembler.cc`. Can we add a utility function on the assembler for this and reuse it here?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |