mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
LibJS+LibWeb: Devirtualize may_interfere_with_indexed_property_access()
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 02:59:43 +09:00
Author: https://github.com/iliadsh Commit: https://github.com/SerenityOS/serenity/commit/89da731aa6 Pull-request: https://github.com/SerenityOS/serenity/pull/21858 Reviewed-by: https://github.com/awesomekling
@@ -11,7 +11,7 @@
|
||||
namespace JS {
|
||||
|
||||
ModuleNamespaceObject::ModuleNamespaceObject(Realm& realm, Module* module, Vector<DeprecatedFlyString> exports)
|
||||
: Object(ConstructWithPrototypeTag::Tag, realm.intrinsics().object_prototype())
|
||||
: Object(ConstructWithPrototypeTag::Tag, realm.intrinsics().object_prototype(), MayInterfereWithIndexedPropertyAccess::Yes)
|
||||
, m_module(module)
|
||||
, m_exports(move(exports))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user