Bug 170927
| Summary: | How we decide to emit a check for .call and .apply seems slightly wrong | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Saam Barati <saam> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | benjamin, fpizlo, ggaren, gskachkov, jfbastien, keith_miller, mark.lam, msaboff, ticaiolima, ysuzuki |
| Priority: | P2 | ||
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Saam Barati
Currently, we just test if we're in a builtin. However, it's conceivable a builtin really wants to grab the public ".call" or ".apply".
Instead, we should probably check if "call" or "apply" is the private symbol, and if so, set a bit in the various AST nodes when we create them.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |