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/JSBundlerPlugin.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/JSBundlerPlugin.cpp')
-rw-r--r-- | src/bun.js/bindings/JSBundlerPlugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/bindings/JSBundlerPlugin.cpp b/src/bun.js/bindings/JSBundlerPlugin.cpp index cae6a4b22..cacfa438b 100644 --- a/src/bun.js/bindings/JSBundlerPlugin.cpp +++ b/src/bun.js/bindings/JSBundlerPlugin.cpp @@ -393,7 +393,7 @@ extern "C" EncodedJSValue JSBundlerPlugin__runSetupFunction( arguments.append(JSValue::decode(encodedConfig)); auto* lexicalGlobalObject = jsCast<JSFunction*>(JSValue::decode(encodedSetupFunction))->globalObject(); - auto result = JSC::call(lexicalGlobalObject, setupFunction, callData, plugin, arguments); + auto result = JSC::profiledCall(lexicalGlobalObject, ProfilingReason::Other, setupFunction, callData, plugin, arguments); if (UNLIKELY(scope.exception())) { auto exception = scope.exception(); scope.clearException(); |