Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8c21c4b

Browse filesBrowse files
Renegade334targos
authored andcommitted
wasi: fix WasiFunction fast call signature
PR-URL: #59600 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent cd034e9 commit 8c21c4b
Copy full SHA for 8c21c4b

File tree

Expand file treeCollapse file tree

2 files changed

+1
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+1
-3
lines changed
Open diff view settings
Collapse file

‎src/node_wasi.cc‎

Copy file name to clipboardExpand all lines: src/node_wasi.cc
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ inline void EinvalError() {}
266266

267267
template <typename FT, FT F, typename R, typename... Args>
268268
R WASI::WasiFunction<FT, F, R, Args...>::FastCallback(
269-
Local<Object> unused,
270269
Local<Object> receiver,
271270
Args... args,
272271
// NOLINTNEXTLINE(runtime/references) This is V8 api.
Collapse file

‎src/node_wasi.h‎

Copy file name to clipboardExpand all lines: src/node_wasi.h
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ class WASI : public BaseObject,
160160
v8::Local<v8::FunctionTemplate>);
161161

162162
private:
163-
static R FastCallback(v8::Local<v8::Object> unused,
164-
v8::Local<v8::Object> receiver,
163+
static R FastCallback(v8::Local<v8::Object> receiver,
165164
Args...,
166165
v8::FastApiCallbackOptions&);
167166

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.