mirror of
https://github.com/oven-sh/bun
synced 2026-02-17 14:22:01 +00:00
WebKit Upgrade (#19839)
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Ben Grant <ben@bun.sh> Co-authored-by: 190n <7763597+190n@users.noreply.github.com>
This commit is contained in:
@@ -1034,11 +1034,11 @@ void generateNativeModule_NodeModule(JSC::JSGlobalObject* lexicalGlobalObject,
|
||||
const auto& property = Identifier::fromString(vm, entry.m_key);
|
||||
JSValue value = constructor->getIfPropertyExists(globalObject, property);
|
||||
|
||||
if (UNLIKELY(catchScope.exception())) {
|
||||
if (catchScope.exception()) [[unlikely]] {
|
||||
value = {};
|
||||
catchScope.clearException();
|
||||
}
|
||||
if (UNLIKELY(value.isEmpty())) {
|
||||
if (value.isEmpty()) [[unlikely]] {
|
||||
value = JSC::jsUndefined();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user