``` eval(...[]) ``` invokes global eval instead of direct eval
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
<rdar://problem/75274432>
*** This bug has been marked as a duplicate of bug 222694 ***
Ah, no. This is different bug from the duped one.