-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support rooting arbitrary types (#535)
* Support rooting optional Traceable values. Signed-off-by: Josh Matthews <[email protected]> * Separate heap barrier operations from notion of safe initialization. Signed-off-by: Josh Matthews <[email protected]> * Mark Rooted/RootedGuard/CustomAutoRooter/CustomAutoRooterGuard with crown annotations. Signed-off-by: Josh Matthews <[email protected]> * Re-export TraceableTrace for custom rootable types. Signed-off-by: Josh Matthews <[email protected]> * Move Traceable trait to mozjs-sys. Signed-off-by: Josh Matthews <[email protected]> * Rename TraceableTrace to Rootable, and reduce overlap with Traceable. Signed-off-by: Josh Matthews <[email protected]> * Add test for new Rootable usage. Signed-off-by: Josh Matthews <[email protected]> * Formatting. Signed-off-by: Josh Matthews <[email protected]> --------- Signed-off-by: Josh Matthews <[email protected]>
- Loading branch information
Showing
12 changed files
with
622 additions
and
503 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.