Bug 170927

Summary: How we decide to emit a check for .call and .apply seems slightly wrong
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: 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
Reported 2017-04-17 18:22:59 PDT
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
Note You need to log in before you can comment on or make changes to this bug.