Bug 225457 - assertion m_numParameters >= 0 is always true
Summary: assertion m_numParameters >= 0 is always true
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Linux
: P2 Trivial
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-06 08:50 PDT by Eleni Maria Stea
Modified: 2021-05-06 19:14 PDT (History)
9 users (show)

See Also:


Attachments
Patch (1.34 KB, patch)
2021-05-06 09:11 PDT, Eleni Maria Stea
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eleni Maria Stea 2021-05-06 08:50:46 PDT
In Source/JavaScriptCore/bytecode/CodeBlock.h the assertion: ASSERT(m_numParameters >= 0); is always true as m_numParameters is unsigned.
Comment 1 Eleni Maria Stea 2021-05-06 09:11:47 PDT
Created attachment 427891 [details]
Patch
Comment 2 EWS 2021-05-06 19:13:13 PDT
Committed r277153 (237440@main): <https://commits.webkit.org/237440@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 427891 [details].
Comment 3 Radar WebKit Bug Importer 2021-05-06 19:14:18 PDT
<rdar://problem/77636798>