aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/GlobalGen.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-02-21 04:28:32 -0800
committerGitHub <noreply@github.com>2017-02-21 04:28:32 -0800
commitaf6353df87770c6d616facdc07f9f929e99b9eda (patch)
tree8e116ccae50de89740e5f1fa14b84bef72ae0933 /components/script/dom/bindings/codegen/GlobalGen.py
parentd724bffde80fec1698a485698d8743022a1e9d57 (diff)
parent214db8d9f0f6fda6ae20136442f3a28171e4b4c8 (diff)
downloadservo-af6353df87770c6d616facdc07f9f929e99b9eda.tar.gz
servo-af6353df87770c6d616facdc07f9f929e99b9eda.zip
Auto merge of #15659 - gregkatz:eliminate_transmute_find_enum, r=Ms2ger
Eliminate a mem::transmute in CodeGen <!-- Please describe your changes on the following line: --> Eliminate a mem::transmute in CodeGen by changing the find_enum_string_index function to take a slice of pairs and return an enum value. --- <!-- 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 - [X] These changes fix #15587 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because _____ <!-- 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/15659) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/codegen/GlobalGen.py')
0 files changed, 0 insertions, 0 deletions