Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0f79dd2171fa5563fb84f870bd5359d4493aa6b4
https://github.com/WebKit/WebKit/commit/0f79dd2171fa5563fb84f870bd5359d4493aa6b4
Author: Yusuke Suzuki <[email protected]>
Date: 2024-04-25 (Thu, 25 Apr 2024)
Changed paths:
M Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp
M Source/JavaScriptCore/parser/Parser.cpp
M Source/JavaScriptCore/parser/Parser.h
Log Message:
-----------
[JSC] Skip putting home objects for functions not having "super"
https://bugs.webkit.org/show_bug.cgi?id=273217
rdar://127015222
Reviewed by Keith Miller.
We do not need to store [[HomeObject]] to the method when the method does not
need "super" at all.
In this patch, we check function's metadata, and do not set [[HomeObject]] when
it is not necessary.
* Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:
(JSC::PropertyListNode::emitPutConstantProperty):
* Source/JavaScriptCore/parser/Parser.cpp:
(JSC::Parser<LexerType>::parseClass):
* Source/JavaScriptCore/parser/Parser.h:
(JSC::Parser::adjustSuperBindingForBaseConstructor):
Canonical link: https://commits.webkit.org/277989@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes