[Webkit-unassigned] [Bug 206321] New: Pass JSToken by const reference

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 15 15:42:52 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=206321

            Bug ID: 206321
           Summary: Pass JSToken by const reference
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jbedard at apple.com

Simon shared shared a lgtm link, this was one of issues identified.

The JSToken object is larger than the word size, so we should really be passing it by const reference, not by value.

https://lgtm.com/projects/g/WebKit/webkit/?tag=&lang=cpp&mode=tree&ruleFocus=2163210742

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200115/2abf432f/attachment.htm>


More information about the webkit-unassigned mailing list