Summary: | DFGAbstractInterpreter ASSERT loading nytimes.com with Web Inspector open | ||
---|---|---|---|
Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
Component: | JavaScriptCore | Assignee: | Mark Lam <mark.lam> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ggaren, joepeck, mark.lam, msaboff, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 139827 | ||
Bug Blocks: |
Description
Joseph Pecoraro
2014-12-10 19:08:08 PST
Reproduced 3 out of 3 times for me. Debug builds @ r177108. The edge being in the assertion checked points to the LexicalEnvironment in a local var. However, our code current pretends that the LexicalEnvironment in a local var is a captured variable. During the DFG's CFA (control flow analysis) phase, the handler for PutClosureVars clobbers all the captured vars (including the LexicalEnvironment var) to clear any prediction of their expected types. This results in the type expectation mismatch that we triggered this assertion failure. The fix is to stop pretending that the LexicalEnvironment is a captured var. Will track the fix in <https://webkit.org/b/139827> because it involves many steps. This issue no longer manifests because the root cause has been removed when the fix for https://bugs.webkit.org/show_bug.cgi?id=141174 landed. Resolving as a dup. *** This bug has been marked as a duplicate of bug 141174 *** |