mirror of
https://github.com/oven-sh/bun
synced 2026-02-17 14:22:01 +00:00
update to llvm 19 and c++ 23 (#18317)
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com>
This commit is contained in:
@@ -882,7 +882,7 @@ JSC_DEFINE_HOST_FUNCTION(jsFunctionIsModuleResolveFilenameSlowPathEnabled,
|
||||
{
|
||||
return JSValue::encode(
|
||||
jsBoolean(defaultGlobalObject(globalObject)
|
||||
->hasOverriddenModuleResolveFilenameFunction));
|
||||
->hasOverriddenModuleResolveFilenameFunction));
|
||||
}
|
||||
|
||||
} // namespace Bun
|
||||
@@ -912,7 +912,7 @@ void generateNativeModule_NodeModule(JSC::JSGlobalObject* lexicalGlobalObject,
|
||||
exportValues.append(constructor);
|
||||
|
||||
for (unsigned i = 0; i < Bun::countof(Bun::nodeModuleObjectTableValues);
|
||||
++i) {
|
||||
++i) {
|
||||
const auto& entry = Bun::nodeModuleObjectTableValues[i];
|
||||
const auto& property = Identifier::fromString(vm, entry.m_key);
|
||||
JSValue value = constructor->getIfPropertyExists(globalObject, property);
|
||||
|
||||
Reference in New Issue
Block a user