summaryrefslogtreecommitdiff
path: root/ops/optimizer_tests/raw_ptr.expected
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-11-26 06:37:43 -0800
committerGitHub <noreply@github.com>2022-11-26 20:07:43 +0530
commitfcdcc8c0c3316857e327bb3c0109fd244f1ec409 (patch)
tree136b98ac68990e8c38aa561b3ff13126ac53dc8e /ops/optimizer_tests/raw_ptr.expected
parent7e0c55818721b78109e2bb58bf14f814036bf06d (diff)
feat(ops): support raw pointer arguments (#16826)
See https://github.com/denoland/deno/pull/16814#discussion_r1032744083. Allows nullable buffers in low-level ops like FFI: ```rust fn op_ffi_ptr_of<FP>( state: &mut OpState, buf: *const u8, out: &mut [u32], ) where FP: FfiPermissions + 'static { // .. } ```
Diffstat (limited to 'ops/optimizer_tests/raw_ptr.expected')
-rw-r--r--ops/optimizer_tests/raw_ptr.expected10
1 files changed, 10 insertions, 0 deletions
diff --git a/ops/optimizer_tests/raw_ptr.expected b/ops/optimizer_tests/raw_ptr.expected
new file mode 100644
index 000000000..12577eb77
--- /dev/null
+++ b/ops/optimizer_tests/raw_ptr.expected
@@ -0,0 +1,10 @@
+=== Optimizer Dump ===
+returns_result: false
+has_ref_opstate: true
+has_rc_opstate: false
+has_fast_callback_option: true
+fast_result: Some(Void)
+fast_parameters: [V8Value, Uint8Array, Uint32Array]
+transforms: {1: Transform { kind: PtrU8, index: 1 }, 2: Transform { kind: SliceU32(true), index: 2 }}
+is_async: false
+fast_compatible: true