Bug 15748 - avoid creating and then breaking circular lists in the parser
Summary: avoid creating and then breaking circular lists in the parser
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Maciej Stachowiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-28 23:55 PDT by Maciej Stachowiak
Modified: 2007-10-29 00:02 PDT (History)
0 users

See Also:


Attachments
patch (34.37 KB, patch)
2007-10-28 23:56 PDT, Maciej Stachowiak
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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