Summary: | Calling eval using spread doesn't emit direct eval | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Saam Barati <saam> | ||||
Component: | JavaScriptCore | Assignee: | Saam Barati <saam> | ||||
Status: | REOPENED --- | ||||||
Severity: | Normal | CC: | ews-watchlist, ggaren, john.david.dalton, keith_miller, mark.lam, msaboff, tzagallo, webkit-bug-importer, ysuzuki | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Saam Barati
2021-03-03 11:29:33 PST
Created attachment 422158 [details]
patch
Comment on attachment 422158 [details]
patch
r=me
Talked with Saam offline, I think we should remove usesEval from UnlinkedCodeBlock/CodeBlock since this is ambiguous whether we should use `usesEval` or `usesCallEval`. Discussed, and we can put `parserSawEval` in UnlinkedCodeBlockGenerator, and remove `usesEval` from UnlinkedCodeBlock/CodeBlock :) Comment on attachment 422158 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=422158&action=review > Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h:345 > + unsigned m_usesCallEval : 1; And I think we need to store this new information to Cached UnlinkedCodeBlock. Oops, this is in the wrong bug *** This bug has been marked as a duplicate of bug 222694 *** Ah, no. This is different bug from the duped one. |