mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Auto merge of #14662 - bholley:bloom_tls, r=emilio
Hoist bloom filter into scoped TLS, and remove a bunch of complexity and unsafety from the style system With this PR, the only remaining usage of UnsafeNode is the transition stuff, which is servo-only and probably going to be rewritten over the course of stylo. The parallel traversal is now fully typechecked and safe. \o/ r? @emilio <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14662) <!-- Reviewable:end -->
This commit is contained in:
commit
b35ab98132
14 changed files with 124 additions and 229 deletions
|
@ -38,3 +38,7 @@ sizeof_checker!(size_span, HTMLSpanElement, 336);
|
|||
sizeof_checker!(size_text, Text, 184);
|
||||
sizeof_checker!(size_characterdata, CharacterData, 184);
|
||||
sizeof_checker!(size_servothreadsafelayoutnode, ServoThreadSafeLayoutNode, 16);
|
||||
|
||||
// We use these types in the parallel traversal. They should stay pointer-sized.
|
||||
sizeof_checker!(size_sendelement, SendElement, 8);
|
||||
sizeof_checker!(size_sendnode, SendNode, 8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue