diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-08-24 02:10:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-24 02:10:33 -0500 |
commit | 9d320881160f2d64d9e5b79e8c17336037dfbede (patch) | |
tree | 65c9b09c181b1853055db57231ade0481167587f /components/script/script_thread.rs | |
parent | a20d7102610dc35c7a5ec8ce64a157e32b4b7dbb (diff) | |
parent | 5341f852ce0d23c04f8624aa3ee8806aac4aa9bd (diff) | |
download | servo-9d320881160f2d64d9e5b79e8c17336037dfbede.tar.gz servo-9d320881160f2d64d9e5b79e8c17336037dfbede.zip |
Auto merge of #13009 - bzbarsky:fix-proto-splice, r=Ms2ger
Use JS_SplicePrototype to set the right proto on the global, instead of JS_SetPrototype, since the latter will permanently deoptimize it.
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it's a performance improvement and I have no idea how to add performance tests.
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- 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/13009)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/script_thread.rs')
0 files changed, 0 insertions, 0 deletions