Bug 55283

Summary: Make ScopeChainNode GC allocated
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: New BugsAssignee: Oliver Hunt <oliver>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, dglazkov, gustavo.noronha, gustavo, ossy, webkit-ews, webkit.review.bot, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch
none
Patch barraclough: review+

Description Oliver Hunt 2011-02-25 18:11:05 PST
Make ScopeChainNode GC allocated
Comment 1 Oliver Hunt 2011-02-25 18:16:38 PST
Created attachment 83911 [details]
Patch
Comment 2 Early Warning System Bot 2011-02-25 19:40:09 PST
Attachment 83911 [details] did not build on qt:
Build output: http://queues.webkit.org/results/8043579
Comment 3 Build Bot 2011-02-25 19:52:58 PST
Attachment 83911 [details] did not build on win:
Build output: http://queues.webkit.org/results/8031574
Comment 4 Build Bot 2011-02-25 20:47:33 PST
Attachment 83911 [details] did not build on win:
Build output: http://queues.webkit.org/results/8043603
Comment 5 Collabora GTK+ EWS bot 2011-02-25 20:51:33 PST
Attachment 83911 [details] did not build on gtk:
Build output: http://queues.webkit.org/results/8035544
Comment 6 WebKit Review Bot 2011-02-25 23:16:44 PST
Attachment 83911 [details] did not build on chromium:
Build output: http://queues.webkit.org/results/8019600
Comment 7 Gavin Barraclough 2011-02-25 23:37:16 PST
Comment on attachment 83911 [details]
Patch

Per our discussion I suggest making scope chain an object so that it can hold properties in anonymous slots, and do away with custom marking (also, function should also be holding scope chain in an anonymous slot now).  As such I'm going to r- for the time being.  Hope this sounds right to you, feel free to argue we should land this as a cell for now if you thing this is a useful stepping stone & I'll re-review.
Comment 8 WebKit Review Bot 2011-02-26 13:37:42 PST
Attachment 83911 [details] did not build on chromium:
Build output: http://queues.webkit.org/results/8031878
Comment 9 Oliver Hunt 2011-02-28 12:09:10 PST
Created attachment 84092 [details]
Patch
Comment 10 Gavin Barraclough 2011-02-28 12:44:27 PST
Comment on attachment 84092 [details]
Patch

Okay, having function have different types of reference to its global object & scope is badness, but I understand that we'll revisit this.
Comment 11 Build Bot 2011-02-28 12:54:01 PST
Attachment 84092 [details] did not build on win:
Build output: http://queues.webkit.org/results/8073418
Comment 12 Early Warning System Bot 2011-02-28 12:59:02 PST
Attachment 84092 [details] did not build on qt:
Build output: http://queues.webkit.org/results/8073420
Comment 13 Oliver Hunt 2011-02-28 13:05:48 PST
Committed r79904: <http://trac.webkit.org/changeset/79904>
Comment 14 Collabora GTK+ EWS bot 2011-02-28 13:19:58 PST
Attachment 84092 [details] did not build on gtk:
Build output: http://queues.webkit.org/results/8077151
Comment 15 Csaba Osztrogonác 2011-02-28 13:54:53 PST
(In reply to comment #12)
> Attachment 84092 [details] did not build on qt:
> Build output: http://queues.webkit.org/results/8073420

Qt buildfix landed in http://trac.webkit.org/changeset/79916 (https://bugs.webkit.org/show_bug.cgi?id=55407)