Bug 225135

Summary: [JSC] Optimize bound function calls
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: New BugsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, joepeck, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
ews-feeder: commit-queue-
Patch
ews-feeder: commit-queue-
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
ews-feeder: commit-queue-
Patch ews-feeder: commit-queue-

Yusuke Suzuki
Reported 2021-04-27 20:47:12 PDT
[JSC] Optimize bound function calls
Attachments
Patch (57.37 KB, patch)
2021-04-27 20:47 PDT, Yusuke Suzuki
no flags
Patch (73.45 KB, patch)
2021-04-30 22:34 PDT, Yusuke Suzuki
ews-feeder: commit-queue-
Patch (76.68 KB, patch)
2021-05-01 00:31 PDT, Yusuke Suzuki
ews-feeder: commit-queue-
Patch (76.76 KB, patch)
2021-05-01 00:40 PDT, Yusuke Suzuki
no flags
Patch (82.18 KB, patch)
2021-05-01 01:45 PDT, Yusuke Suzuki
no flags
Patch (84.09 KB, patch)
2021-05-01 03:20 PDT, Yusuke Suzuki
no flags
Patch (84.02 KB, patch)
2021-05-01 12:03 PDT, Yusuke Suzuki
no flags
Patch (106.27 KB, patch)
2021-05-01 20:46 PDT, Yusuke Suzuki
no flags
Patch (106.38 KB, patch)
2021-05-10 03:05 PDT, Yusuke Suzuki
ews-feeder: commit-queue-
Patch (106.38 KB, patch)
2021-05-10 03:12 PDT, Yusuke Suzuki
ews-feeder: commit-queue-
Yusuke Suzuki
Comment 1 2021-04-27 20:47:41 PDT
Yusuke Suzuki
Comment 2 2021-04-30 22:34:13 PDT
Yusuke Suzuki
Comment 3 2021-05-01 00:31:36 PDT
Yusuke Suzuki
Comment 4 2021-05-01 00:40:03 PDT
Yusuke Suzuki
Comment 5 2021-05-01 01:45:07 PDT
Yusuke Suzuki
Comment 6 2021-05-01 03:20:34 PDT
Yusuke Suzuki
Comment 7 2021-05-01 12:03:21 PDT
Yusuke Suzuki
Comment 8 2021-05-01 20:46:56 PDT
Mark Lam
Comment 9 2021-05-01 22:02:57 PDT
Comment on attachment 427517 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427517&action=review > Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h:764 > + RegisterID* emitCreateArgumentsButterflyExcludingThis(RegisterID* dst, RegisterID* count); Did you mean "target" instead of "count"? > Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:1939 > + return generator.emitCreateArgumentsButterflyExcludingThis(generator.finalDestination(dst), additionalCount.get()); Is the 2nd argument supposed to be "additionalCount"? This doesn't match the `@createArgumentsButterfly(this);` in FunctionPrototype.js.
Radar WebKit Bug Importer
Comment 10 2021-05-04 20:48:15 PDT
Yusuke Suzuki
Comment 11 2021-05-10 01:29:40 PDT
Comment on attachment 427517 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427517&action=review >> Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h:764 >> + RegisterID* emitCreateArgumentsButterflyExcludingThis(RegisterID* dst, RegisterID* count); > > Did you mean "target" instead of "count"? Changed to target. Yeah, "count" is the one from the old patch. >> Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:1939 >> + return generator.emitCreateArgumentsButterflyExcludingThis(generator.finalDestination(dst), additionalCount.get()); > > Is the 2nd argument supposed to be "additionalCount"? This doesn't match the `@createArgumentsButterfly(this);` in FunctionPrototype.js. Changed to target.
Yusuke Suzuki
Comment 12 2021-05-10 03:05:41 PDT
Yusuke Suzuki
Comment 13 2021-05-10 03:12:47 PDT
Yusuke Suzuki
Comment 14 2023-02-14 17:49:24 PST
EWS
Comment 15 2023-02-15 01:30:58 PST
Committed 260303@main (d99a52c87599): <https://commits.webkit.org/260303@main> Reviewed commits have been landed. Closing PR #10116 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.