summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/ffi/dlfcn.rs2
-rw-r--r--ext/flash/lib.rs6
2 files changed, 5 insertions, 3 deletions
diff --git a/ext/ffi/dlfcn.rs b/ext/ffi/dlfcn.rs
index 99287b234..4f58248e6 100644
--- a/ext/ffi/dlfcn.rs
+++ b/ext/ffi/dlfcn.rs
@@ -295,6 +295,8 @@ fn make_sync_fn<'s>(
scope,
&turbocall::make_template(sym, &trampoline),
None,
+ None,
+ None,
);
fast_call_alloc = Some(Box::into_raw(Box::new(trampoline)));
func
diff --git a/ext/flash/lib.rs b/ext/flash/lib.rs
index 41287d003..77b8b6791 100644
--- a/ext/flash/lib.rs
+++ b/ext/flash/lib.rs
@@ -551,7 +551,7 @@ fn op_flash_make_request<'scope>(
)
.data(v8::External::new(scope, ctx as *mut _).into());
- let func = builder.build_fast(scope, &NextRequestFast, None);
+ let func = builder.build_fast(scope, &NextRequestFast, None, None, None);
let func: v8::Local<v8::Value> = func.get_function(scope).unwrap().into();
let key = v8::String::new(scope, "nextRequest").unwrap();
@@ -574,7 +574,7 @@ fn op_flash_make_request<'scope>(
)
.data(v8::External::new(scope, ctx as *mut _).into());
- let func = builder.build_fast(scope, &GetMethodFast, None);
+ let func = builder.build_fast(scope, &GetMethodFast, None, None, None);
let func: v8::Local<v8::Value> = func.get_function(scope).unwrap().into();
let key = v8::String::new(scope, "getMethod").unwrap();
@@ -612,7 +612,7 @@ fn op_flash_make_request<'scope>(
)
.data(v8::External::new(scope, ctx as *mut _).into());
- let func = builder.build_fast(scope, &RespondFast, None);
+ let func = builder.build_fast(scope, &RespondFast, None, None, None);
let func: v8::Local<v8::Value> = func.get_function(scope).unwrap().into();
let key = v8::String::new(scope, "respond").unwrap();