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 81548ab

Browse filesBrowse files
Renegade334aduh95
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 fe492c7 commit 81548ab
Copy full SHA for 81548ab

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
@@ -265,7 +265,6 @@ inline void EinvalError() {}
265265

266266
template <typename FT, FT F, typename R, typename... Args>
267267
R WASI::WasiFunction<FT, F, R, Args...>::FastCallback(
268-
Local<Object> unused,
269268
Local<Object> receiver,
270269
Args... args,
271270
// 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.