refactor and rename JSCommonJSModule (#18390)

This commit is contained in:
chloe caruso
2025-03-21 18:46:39 -07:00
committed by GitHub
parent ddd87fef12
commit eae2c889ed
19 changed files with 430 additions and 450 deletions

View File

@@ -658,7 +658,7 @@ JSC_DEFINE_CUSTOM_GETTER(nodeModuleWrapper,
{
// This does not cache anything because it is assumed nobody reads it more than once.
VM& vm = global->vm();
JSC::JSFunction* cb = JSC::JSFunction::create(vm, global, WebCore::moduleGetWrapperArrayProxyCodeGenerator(vm), global);
JSC::JSFunction* cb = JSC::JSFunction::create(vm, global, WebCore::commonJSGetWrapperArrayProxyCodeGenerator(vm), global);
JSC::CallData callData = JSC::getCallData(cb);
JSC::MarkedArgumentBuffer args;