Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
src: remove AsyncScope and AsyncCallbackScope
Reduce the number of different scopes we use for async callbacks. PR-URL: #30236 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
- Loading branch information
Showing
with
37 additions
and 68 deletions.
- +8 −5 src/api/callback.cc
- +0 −14 src/async_wrap-inl.h
- +0 −13 src/async_wrap.h
- +0 −8 src/env-inl.h
- +0 −14 src/env.h
- +13 −7 src/node_http_parser.cc
- +10 −4 src/node_internals.h
- +6 −3 src/stream_pipe.cc
There are no files selected for viewing
This file contains 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
This file contains 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
| @@ -50,20 +50,6 @@ inline double AsyncWrap::get_trigger_async_id() const { | ||
| } | ||
|
|
||
|
|
||
| inline v8::MaybeLocal<v8::Value> AsyncWrap::MakeCallback( | ||
| const v8::Local<v8::String> symbol, | ||
| int argc, | ||
This file contains 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
This file contains 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
This file contains 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
| @@ -721,20 +721,6 @@ class AsyncHooks : public MemoryRetainer { | ||
| void grow_async_ids_stack(); | ||
| }; | ||
|
|
||
| class ImmediateInfo : public MemoryRetainer { | ||
| public: | ||
| inline AliasedUint32Array& fields(); | ||
This file contains 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
This file contains 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
This file contains 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