diff options
author | 2023-07-04 03:47:56 -0700 | |
---|---|---|
committer | 2023-07-04 03:47:56 -0700 | |
commit | 0a0d3ba8505d057251a6059da4252abb4f699fb1 (patch) | |
tree | feb44e5385e092af647fbbd8d9a7959a5ede2a00 /src/bun.js/bindings/napi.cpp | |
parent | 1d8431a92cbb17a0c744743ce99430d5e6cde014 (diff) | |
download | bun-jarred/profiled-call.tar.gz bun-jarred/profiled-call.tar.zst bun-jarred/profiled-call.zip |
Use profiled calljarred/profiled-call
Diffstat (limited to 'src/bun.js/bindings/napi.cpp')
-rw-r--r-- | src/bun.js/bindings/napi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/bindings/napi.cpp b/src/bun.js/bindings/napi.cpp index 8fffcc05f..7d559374e 100644 --- a/src/bun.js/bindings/napi.cpp +++ b/src/bun.js/bindings/napi.cpp @@ -1867,7 +1867,7 @@ extern "C" napi_status napi_call_function(napi_env env, napi_value recv_napi, if (thisValue.isEmpty()) { thisValue = JSC::jsUndefined(); } - JSC::JSValue result = JSC::call(globalObject, funcValue, callData, thisValue, args); + JSC::JSValue result = JSC::profiledCall(globalObject, ProfilingReason::Other, funcValue, callData, thisValue, args); if (result_ptr) { *result_ptr = toNapi(result); |