Uh oh!
There was an error while loading. Please reload this page.
src: use CreateEnvironment instead of inlining its code where possible - #45886
Merged
nodejs-github-bot merged 3 commits intoDec 21, 2022
Conversation
We had a number of places in which we created an `Environment` instance by performing each step in `CreateEnvironment` manually. Instead, just call the function itself.
nodejs-github-bot
commented
Dec 16, 2022
Collaborator
Review requested:
|
nodejs-github-bot
commented
Dec 16, 2022
Collaborator
cjihrig
approved these changes
Dec 16, 2022
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
addaleax
commented
Dec 16, 2022
| inspector_parent_handle.get())->impl)); | ||
| env->InitializeInspector(std::move( | ||
| static_cast<InspectorParentHandleImpl*>(inspector_parent_handle.get()) | ||
| ->impl)); |
MemberAuthor
There was a problem hiding this comment.
This is now just a clang-format leftover after addressing review comments, I’d leave it if it’s all the same to everyone.
This was referenced Dec 17, 2022
jasnell
approved these changes
Dec 19, 2022
nodejs-github-bot
commented
Dec 19, 2022
Collaborator
nodejs-github-bot
commented
Dec 19, 2022
Collaborator
14 tasks
legendecas
approved these changes
Dec 20, 2022
nodejs-github-bot
commented
Dec 20, 2022
Collaborator
nodejs-github-bot
commented
Dec 20, 2022
Collaborator
12 tasks
joyeecheung
approved these changes
Dec 21, 2022
nodejs-github-bot
commented
Dec 21, 2022
Collaborator
nodejs-github-bot
commented
Dec 21, 2022
Collaborator
Landed in 01323d5 |
This was referenced Dec 22, 2022
targos pushed a commit
that referenced
this pull request
Jan 1, 2023
We had a number of places in which we created an `Environment` instance by performing each step in `CreateEnvironment` manually. Instead, just call the function itself. PR-URL: #45886 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Merged
RafaelGSS pushed a commit
that referenced
this pull request
Jan 4, 2023
We had a number of places in which we created an `Environment` instance by performing each step in `CreateEnvironment` manually. Instead, just call the function itself. PR-URL: #45886 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
RafaelGSS pushed a commit
that referenced
this pull request
Jan 5, 2023
We had a number of places in which we created an `Environment` instance by performing each step in `CreateEnvironment` manually. Instead, just call the function itself. PR-URL: #45886 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
juanarbol
commented
Jan 22, 2023
Member
This is not landing cleanly in v18.x, it is generating the. next compile errors: |
addaleax
commented
Jan 24, 2023
MemberAuthor
@juanarbol opened #46330 👍 |
juanarbol pushed a commit
to addaleax/node
that referenced
this pull request
Feb 24, 2023
We had a number of places in which we created an `Environment` instance by performing each step in `CreateEnvironment` manually. Instead, just call the function itself. PR-URL: nodejs#45886 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
juanarbol pushed a commit
that referenced
this pull request
Mar 1, 2023
We had a number of places in which we created an `Environment` instance by performing each step in `CreateEnvironment` manually. Instead, just call the function itself. PR-URL: #45886 Backport-PR-URL: #46330 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Merged
juanarbol pushed a commit
that referenced
this pull request
Mar 5, 2023
We had a number of places in which we created an `Environment` instance by performing each step in `CreateEnvironment` manually. Instead, just call the function itself. PR-URL: #45886 Backport-PR-URL: #46330 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We had a number of places in which we created an
Environmentinstance by performing each step inCreateEnvironmentmanually. Instead, just call the function itself.