Skip to content

Conversation

@SimonSapin
Copy link
Member

Pick up servo/rust-mozjs#512

Fixes #26585

This diff is best viewed with "ignore whitespace changes", because of indentation change.

Pick up servo/rust-mozjs#512

Fixes #26585

This diff is best viewed with "ignore whitespace changes", because of indentation change.
@highfive
Copy link

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/bindings/codegen/CodegenRust.py, components/script/script_runtime.rs
  • @KiChjang: components/script/dom/bindings/codegen/CodegenRust.py, components/script/script_runtime.rs

@highfive
Copy link

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label May 25, 2020
Copy link
Member

@Manishearth Manishearth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems good, r=me pending jdm's perf investigation

we could also potentially make it a cfg to use dynamic dispatch here, if there is a small but nontrivial perf impact

Copy link
Member

@jdm jdm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've verified that performance stays the same on the majority of the demos at https://servo.org/hl-home/. We may be slightly slower at flinging balls as fast as possible in ballshooter, and the particles might also be slightly slower, but both of those were also within the realm of measurement error, so I'm not particularly concerned.

@SimonSapin
Copy link
Member Author

servo/rust-mozjs#512 has landed

@bors-servo r=Manishearth

@bors-servo
Copy link
Contributor

📌 Commit d103e06 has been approved by Manishearth

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels May 26, 2020
@bors-servo
Copy link
Contributor

⌛ Testing commit d103e06 with merge 06c4ca1...

@bors-servo
Copy link
Contributor

☀️ Test successful - status-taskcluster
Approved by: Manishearth
Pushing 06c4ca1 to master...

@bors-servo bors-servo merged commit 06c4ca1 into master May 26, 2020
@bors-servo bors-servo deleted the dynamic-wrap-panic branch May 26, 2020 22:20
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mozjs::panic generates ~25% of LLVM IR lines of libscript

6 participants