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:
bors-servo 2016-12-22 12:02:38 -08:00 committed by GitHub
commit b35ab98132
14 changed files with 124 additions and 229 deletions

View file

@ -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);