Bug 147657

Summary: Replace JSFunctionNameScope with JSLexicalEnvironment for the function name scope.
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Saam Barati <saam>
Status: RESOLVED FIXED    
Severity: Normal CC: basile_clement, benjamin, fpizlo, ggaren, mark.lam, mmirman, msaboff, oliver, ysuzuki
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 147666    
Attachments:
Description Flags
patch mark.lam: review+, mark.lam: commit-queue-

Saam Barati
Reported 2015-08-04 15:35:00 PDT
We can just implement this as a "const"-like scope :)
Attachments
patch (61.17 KB, patch)
2015-08-04 19:05 PDT, Saam Barati
mark.lam: review+
mark.lam: commit-queue-
Saam Barati
Comment 1 2015-08-04 19:05:51 PDT
Mark Lam
Comment 2 2015-08-05 09:44:43 PDT
Comment on attachment 258257 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=258257&action=review r=me with fixes. Do we already have test coverage for all the aspects of the function name scope behavior? If not, please add the missing pieces. > Source/JavaScriptCore/ChangeLog:14 > + this variable like a "const" because You're cut off here mid thought.
Saam Barati
Comment 3 2015-08-05 11:16:44 PDT
(In reply to comment #2) > Comment on attachment 258257 [details] > patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=258257&action=review > > r=me with fixes. > > Do we already have test coverage for all the aspects of the function name > scope behavior? If not, please add the missing pieces. > We do have tests. I broke them and then fixed them :) > > Source/JavaScriptCore/ChangeLog:14 > > + this variable like a "const" because > > You're cut off here mid thought. Fixed.
Saam Barati
Comment 4 2015-08-05 11:30:20 PDT
Note You need to log in before you can comment on or make changes to this bug.