servo/components/script/dom/bindings/codegen
bors-servo e2e7013e76 Auto merge of #12395 - jdm:nowrap, r=Ms2ger
Avoid calling JS_WrapValue for same-compartment DOM reflectors

This change shaves off 15-20ns per iteration of the node.firstChild getter test in tests/html/bindings_perf.html. Based on [similar Gecko code](http://searchfox.org/mozilla-central/rev/f43c9e0ffa92e72dbdbcbf57eecf04a43d46da63/dom/bindings/BindingUtils.h#781).

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix (partially) #12358

<!-- 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/12395)
<!-- Reviewable:end -->
2016-07-12 05:50:46 -07:00
..
parser Allow [Pref] annotations on worker-exposed interfaces. 2016-07-12 13:06:47 +02:00
ply Cargoify servo 2014-09-08 20:21:42 -06:00
BindingGen.py Remove unused command-line Python codegen arguments 2016-01-07 08:51:06 -05:00
Bindings.conf Support WindowProxy return values in bindings 2016-06-09 23:42:27 +02:00
CodegenRust.py Auto merge of #12395 - jdm:nowrap, r=Ms2ger 2016-07-12 05:50:46 -07:00
Configuration.py Implement the [Exposed] extended attribute on interfaces. 2016-07-12 13:06:56 +02:00
GlobalGen.py Lazily define interface objects on globals (fixes #6419) 2016-02-25 15:56:47 +01:00