-
- Downloads
Bug 1732343 - Part 1: Better support for moveonly types in IPDL, r=handyman
In part 2 of this patch, a large number of messages are being converted to contain move-only types, both as direct arguments and within compound data structures. This revealed some limitations in IPDL's handling of moveonly types, which this patch hopes to rectify. This also required changes to allow distinguishing between types which require move to send vs. them not having a move constructor. This does not fully fix the underlying issues, but attempts to preserve existing behaviour while improving support for the new types being added. There should be further cleanup in the future. Differential Revision: https://phabricator.services.mozilla.com/D126563
Showing
- dom/ipc/DOMTypes.ipdlh 1 addition, 1 deletiondom/ipc/DOMTypes.ipdlh
- ipc/ipdl/ipdl/ast.py 7 additions, 2 deletionsipc/ipdl/ipdl/ast.py
- ipc/ipdl/ipdl/lower.py 116 additions, 95 deletionsipc/ipdl/ipdl/lower.py
- ipc/ipdl/ipdl/type.py 17 additions, 7 deletionsipc/ipdl/ipdl/type.py
- ipc/ipdl/test/ipdl/error/PInconsistentMoveOnly.ipdl 4 additions, 0 deletionsipc/ipdl/test/ipdl/error/PInconsistentMoveOnly.ipdl
- ipc/ipdl/test/ipdl/ok/PbasicUsing.ipdl 14 additions, 0 deletionsipc/ipdl/test/ipdl/ok/PbasicUsing.ipdl
Loading
Please register or sign in to comment