Bug 179247

Summary: [JSC][JIT] Clean up SlowPathCall stubs
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: New BugsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, keith_miller, mark.lam, msaboff, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch saam: review+

Yusuke Suzuki
Reported 2017-11-03 10:46:34 PDT
[JSC][JIT] Clean up SlowPathCall stubs
Attachments
Patch (33.34 KB, patch)
2017-11-03 10:47 PDT, Yusuke Suzuki
saam: review+
Yusuke Suzuki
Comment 1 2017-11-03 10:47:58 PDT
Saam Barati
Comment 2 2017-11-08 10:49:12 PST
Comment on attachment 325916 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=325916&action=review nice cleanup. r=me > Source/JavaScriptCore/runtime/CommonSlowPaths.cpp:283 > +SLOW_PATH_DECL(slow_path_check_tdz) > +{ > + BEGIN(); > + THROW(createTDZError(exec)); > +} Not a fan of this name, this used to be called throw_tdz_error or whatever, which I think is more intuitive.
Saam Barati
Comment 3 2017-11-08 10:49:35 PST
Comment on attachment 325916 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=325916&action=review > Source/JavaScriptCore/ChangeLog:8 > + We have bunch of duplicate functions that just calls a slow path function. calls => call
Yusuke Suzuki
Comment 4 2017-11-09 07:14:26 PST
Comment on attachment 325916 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=325916&action=review Thanks >> Source/JavaScriptCore/ChangeLog:8 >> + We have bunch of duplicate functions that just calls a slow path function. > > calls => call Fixed! >> Source/JavaScriptCore/runtime/CommonSlowPaths.cpp:283 >> +} > > Not a fan of this name, this used to be called throw_tdz_error or whatever, which I think is more intuitive. Currently, we rely on this name because we mechanically call slow_path function that has the same name to the opcode :(
Yusuke Suzuki
Comment 5 2017-11-09 07:16:30 PST
Radar WebKit Bug Importer
Comment 6 2017-11-15 09:41:01 PST
Note You need to log in before you can comment on or make changes to this bug.