-
-
Couldn't load subscription status.
- Fork 33.6k
src: avoid calling SetPrototypeV2() #57949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src: avoid calling SetPrototypeV2() #57949
Conversation
9578bd1 to
24013be
Compare
24013be to
ff7cf87
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #57949 +/- ##
==========================================
+ Coverage 90.26% 90.27% +0.01%
==========================================
Files 630 630
Lines 186083 186105 +22
Branches 36454 36461 +7
==========================================
+ Hits 167962 168003 +41
+ Misses 10985 10970 -15
+ Partials 7136 7132 -4
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
Landed in 1c0a405 |
PR-URL: #57949 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #57949 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
|
This doesn't land cleanly on |
Setting the prototype can be achieved by the v8::Object::New() constructor. We don't need to call SetPrototypeV2().