Bug 20927

Summary: simplify/streamline the code to turn strings into identifiers while parsing
Product: WebKit Reporter: Darin Adler <darin>
Component: JavaScriptCoreAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
patch
none
patch mjs: review+

Description Darin Adler 2008-09-18 17:09:05 PDT
The code to parse JavaScript currently creates an unnecessary extra UString and then later turns it into an Identifier. This can be streamlined to be simpler, slightly less code, and slightly faster.
Comment 1 Darin Adler 2008-09-18 17:33:59 PDT
Created attachment 23545 [details]
patch
Comment 2 Darin Adler 2008-09-18 17:35:26 PDT
Created attachment 23546 [details]
patch
Comment 3 Maciej Stachowiak 2008-09-18 23:24:21 PDT
Comment on attachment 23546 [details]
patch

r=me
Comment 4 Darin Adler 2008-09-18 23:32:48 PDT
http://trac.webkit.org/changeset/36660