Skip to content

Commit

Permalink
Add missing visitors
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Sep 15, 2023
1 parent 29b2217 commit 37edd5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bun.js/bindings/Process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ JSC_DEFINE_HOST_FUNCTION(Process_functionDlopen,
}
}

JSC::EncodedJSValue (*napi_register_module_v1)(JSC::JSGlobalObject * globalObject,
JSC::EncodedJSValue (*napi_register_module_v1)(JSC::JSGlobalObject* globalObject,
JSC::EncodedJSValue exports);

napi_register_module_v1 = reinterpret_cast<JSC::EncodedJSValue (*)(JSC::JSGlobalObject*,
Expand Down Expand Up @@ -1247,6 +1247,8 @@ void Process::visitChildrenImpl(JSCell* cell, Visitor& visitor)
Base::visitChildren(thisObject, visitor);
thisObject->m_cpuUsageStructure.visit(visitor);
thisObject->m_memoryUsageStructure.visit(visitor);
thisObject->m_bindingUV.visit(visitor);
thisObject->m_bindingNatives.visit(visitor);
}

DEFINE_VISIT_CHILDREN(Process);
Expand Down

0 comments on commit 37edd5a

Please sign in to comment.