| Summary: | Remove an invalid assertion in DFG::SpeculativeJIT::nonSpeculativeNonPeepholeCompareNullOrUndefined(). | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> | ||||
| Component: | JavaScriptCore | Assignee: | Mark Lam <mark.lam> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | fpizlo, keith_miller, msaboff, rmorisset, saam, tzagallo, webkit-bug-importer, ysuzuki | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Mark Lam
2019-03-21 16:17:38 PDT
Created attachment 365639 [details]
proposed patch.
Comment on attachment 365639 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=365639&action=review > Source/JavaScriptCore/ChangeLog:10 > + The DFG backend should not make assumptions about what optimizations the front end > + will or will not do. The assertion asserts that the operand cannot be known to be You're right - the DFG is making a back assumption here because optimizations should be optional. (In reply to Filip Pizlo from comment #2) > Comment on attachment 365639 [details] > proposed patch. > > View in context: > https://bugs.webkit.org/attachment.cgi?id=365639&action=review > > > Source/JavaScriptCore/ChangeLog:10 > > + The DFG backend should not make assumptions about what optimizations the front end > > + will or will not do. The assertion asserts that the operand cannot be known to be > > You're right - the DFG is making a back assumption here because > optimizations should be optional. *bad assumption Thanks for the review. Landed in r243344: <http://trac.webkit.org/r243344>. Comment on attachment 365639 [details]
proposed patch.
LGTM too.
|