diff --git a/benchmark/ffi/add-f64.js b/benchmark/ffi/add-f64.js index fab6457e33a09d..f4e1dbac4ac3d4 100644 --- a/benchmark/ffi/add-f64.js +++ b/benchmark/ffi/add-f64.js @@ -13,7 +13,7 @@ const bench = common.createBenchmark(main, { ensureFixtureLibrary(); const { lib, functions } = ffi.dlopen(libraryPath, { - add_f64: { result: 'f64', parameters: ['f64', 'f64'] }, + add_f64: { return: 'f64', arguments: ['f64', 'f64'] }, }); const add = functions.add_f64; diff --git a/benchmark/ffi/add-i32.js b/benchmark/ffi/add-i32.js index bc8e2c4138080e..9a77a6f998f79d 100644 --- a/benchmark/ffi/add-i32.js +++ b/benchmark/ffi/add-i32.js @@ -13,7 +13,7 @@ const bench = common.createBenchmark(main, { ensureFixtureLibrary(); const { lib, functions } = ffi.dlopen(libraryPath, { - add_i32: { result: 'i32', parameters: ['i32', 'i32'] }, + add_i32: { return: 'i32', arguments: ['i32', 'i32'] }, }); const add = functions.add_i32; diff --git a/benchmark/ffi/getpid.js b/benchmark/ffi/getpid.js index c2e7d4ed89c34e..8008f407305e49 100644 --- a/benchmark/ffi/getpid.js +++ b/benchmark/ffi/getpid.js @@ -10,7 +10,7 @@ const bench = common.createBenchmark(main, { }); const { lib, functions } = ffi.dlopen(null, { - uv_os_getpid: { result: 'i32', parameters: [] }, + uv_os_getpid: { return: 'i32', arguments: [] }, }); const getpid = functions.uv_os_getpid; diff --git a/benchmark/ffi/many-args.js b/benchmark/ffi/many-args.js index bacd873df52d1b..bc269ace0c3e26 100644 --- a/benchmark/ffi/many-args.js +++ b/benchmark/ffi/many-args.js @@ -13,7 +13,7 @@ const bench = common.createBenchmark(main, { ensureFixtureLibrary(); const { lib, functions } = ffi.dlopen(libraryPath, { - sum_6_i32: { result: 'i32', parameters: ['i32', 'i32', 'i32', 'i32', 'i32', 'i32'] }, + sum_6_i32: { return: 'i32', arguments: ['i32', 'i32', 'i32', 'i32', 'i32', 'i32'] }, }); const fn = functions.sum_6_i32; diff --git a/benchmark/ffi/pointer-bigint.js b/benchmark/ffi/pointer-bigint.js index c44ef7f1656a0c..9ea01d28490e00 100644 --- a/benchmark/ffi/pointer-bigint.js +++ b/benchmark/ffi/pointer-bigint.js @@ -13,7 +13,7 @@ const bench = common.createBenchmark(main, { ensureFixtureLibrary(); const { lib, functions } = ffi.dlopen(libraryPath, { - pointer_to_usize: { result: 'u64', parameters: ['pointer'] }, + pointer_to_usize: { return: 'u64', arguments: ['pointer'] }, }); const fn = functions.pointer_to_usize; diff --git a/benchmark/ffi/sum-buffer.js b/benchmark/ffi/sum-buffer.js index 3117f61aaedabf..60e25a85418565 100644 --- a/benchmark/ffi/sum-buffer.js +++ b/benchmark/ffi/sum-buffer.js @@ -14,7 +14,7 @@ const bench = common.createBenchmark(main, { ensureFixtureLibrary(); const { lib, functions } = ffi.dlopen(libraryPath, { - sum_buffer: { result: 'u64', parameters: ['pointer', 'u64'] }, + sum_buffer: { return: 'u64', arguments: ['pointer', 'u64'] }, }); function main({ n, size }) {