diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-01-08 09:30:54 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-01-08 09:30:54 -0700 |
commit | ec474ae835586c14ec4e1fb72196f2bc211f865f (patch) | |
tree | 601ced61240b7acd27820ae29fc721a5bc8554eb /components/script/dom/bindings | |
parent | df6a7959df69bf98b397f088fc3cf1fad2cc0aaf (diff) | |
parent | 6225bc63095bb79ffd4f316451a81bed00affbd1 (diff) | |
download | servo-ec474ae835586c14ec4e1fb72196f2bc211f865f.tar.gz servo-ec474ae835586c14ec4e1fb72196f2bc211f865f.zip |
auto merge of #4541 : Manishearth/servo/ban-stuff, r=jdm
Didn't do the `Vec<Temporary<T>>` banning since we might want to whitelist something there. I'll work on that next.
Diffstat (limited to 'components/script/dom/bindings')
-rw-r--r-- | components/script/dom/bindings/DESIGN.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/bindings/DESIGN.md b/components/script/dom/bindings/DESIGN.md index 2dc54c74548..e47d7467609 100644 --- a/components/script/dom/bindings/DESIGN.md +++ b/components/script/dom/bindings/DESIGN.md @@ -37,3 +37,4 @@ For supporting SpiderMonkey’s exact GC rooting, we introduce [some types](http - `Root<T>` contains the pointer to `JSObject` which the represented DOM type has. SpiderMonkey's conservative stack scanner scans it's pointers and marks a pointed `JSObject` as GC root. - `JSRef` is just a reference to the value rooted by `Root<T>`. - `RootCollection` is used to dynamically check if rooting satisfies LIFO ordering, because SpiderMonkey's GC requires LIFO order (See also: [Exact Stack Rooting - Storing a GCPointer on the CStack](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Internals/GC/Exact_Stack_Rooting)). + - `MutHeap<T>` is a version of `Cell<T>` that is safe to use for internal mutability of Spidermonkey heap objects like `JSVal` and `JS<T>`
\ No newline at end of file |