Bug 15748

Summary: avoid creating and then breaking circular lists in the parser
Product: WebKit Reporter: Maciej Stachowiak <mjs>
Component: JavaScriptCoreAssignee: Maciej Stachowiak <mjs>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
patch darin: review+

Description Maciej Stachowiak 2007-10-28 23:55:33 PDT
The parser creates circular lists for some node types and then breaks them. It would be simpler to just keep head and tail pointers in the parser for the appropriate productions.
Comment 1 Maciej Stachowiak 2007-10-28 23:56:17 PDT
Created attachment 16934 [details]
patch
Comment 2 Darin Adler 2007-10-29 00:00:36 PDT
Comment on attachment 16934 [details]
patch

r=me