Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ae1e21feca320eee3dcc608c58c4333f0d405e9a
https://github.com/WebKit/WebKit/commit/ae1e21feca320eee3dcc608c58c4333f0d405e9a
Author: Yusuke Suzuki <[email protected]>
Date: 2024-09-05 (Thu, 05 Sep 2024)
Changed paths:
M Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h
M Source/JavaScriptCore/bytecompiler/BytecodeGeneratorBase.h
M Source/JavaScriptCore/bytecompiler/BytecodeGeneratorBaseInlines.h
M Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp
Log Message:
-----------
[JSC] Make CallArguments tight
https://bugs.webkit.org/show_bug.cgi?id=279207
rdar://135354950
Reviewed by Keith Miller.
For large function, CallArguments is super frequently used. This patch makes
code super tight for performance.
We avoid Vector's movement and use std::span instead for adjustment.
* Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h:
(JSC::CallArguments::argumentCountIncludingThis):
* Source/JavaScriptCore/bytecompiler/BytecodeGeneratorBase.h:
* Source/JavaScriptCore/bytecompiler/BytecodeGeneratorBaseInlines.h:
(JSC::BytecodeGeneratorBase<Traits>::newTemporaries):
* Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:
(JSC::CallArguments::CallArguments):
Canonical link: https://commits.webkit.org/283232@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