aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/JSBundlerPlugin.cpp
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-07-04 03:47:56 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-07-04 03:47:56 -0700
commit0a0d3ba8505d057251a6059da4252abb4f699fb1 (patch)
treefeb44e5385e092af647fbbd8d9a7959a5ede2a00 /src/bun.js/bindings/JSBundlerPlugin.cpp
parent1d8431a92cbb17a0c744743ce99430d5e6cde014 (diff)
downloadbun-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.cpp2
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();