summaryrefslogtreecommitdiff
path: root/ops/op2/test_cases/sync/add.out
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-07-01 16:07:05 -0600
committerGitHub <noreply@github.com>2023-07-01 22:07:05 +0000
commit6afdcf59b80b4a3ecf60f220ddff14f4309133d0 (patch)
treed6a6dad1945430e161fba9e86d93fe3d8893d89c /ops/op2/test_cases/sync/add.out
parent0f719aa79c2b471815c9d21014b37719c6557c1b (diff)
refactor(ops): op2 supports strings in argument and return position (#19613)
Support strings (&str, String, and Cow) in the argument position and String in the return position. Avoids copies where possible, though this is not always something we can do.
Diffstat (limited to 'ops/op2/test_cases/sync/add.out')
-rw-r--r--ops/op2/test_cases/sync/add.out4
1 files changed, 3 insertions, 1 deletions
diff --git a/ops/op2/test_cases/sync/add.out b/ops/op2/test_cases/sync/add.out
index c8f77ab92..a73f032aa 100644
--- a/ops/op2/test_cases/sync/add.out
+++ b/ops/op2/test_cases/sync/add.out
@@ -52,7 +52,9 @@ impl op_add {
arg0: u32,
arg1: u32,
) -> u32 {
- let result = Self::call(arg0 as _, arg1 as _);
+ let arg0 = arg0 as _;
+ let arg1 = arg1 as _;
+ let result = Self::call(arg0, arg1);
result
}
extern "C" fn v8_fn_ptr(info: *const deno_core::v8::FunctionCallbackInfo) {