Bug 75911

Summary: REGRESSION: d3 Bullet Charts demo doesn't work (call with argument assignment is broken)
Product: WebKit Reporter: Geoffrey Garen <ggaren>
Component: WebKit Misc.Assignee: Geoffrey Garen <ggaren>
Status: RESOLVED FIXED    
Severity: Normal CC: fpizlo
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch fpizlo: review+

Geoffrey Garen
Reported 2012-01-09 16:41:16 PST
http://mbostock.github.com/d3/ex/bullet.html Displays no chart on ToT, but it works on Safari 5.1.2.
Attachments
Patch (6.46 KB, patch)
2012-01-09 17:22 PST, Geoffrey Garen
fpizlo: review+
Geoffrey Garen
Comment 1 2012-01-09 16:51:15 PST
Geoffrey Garen
Comment 2 2012-01-09 17:22:28 PST
Filip Pizlo
Comment 3 2012-01-09 17:30:17 PST
Comment on attachment 121766 [details] Patch Yay! r=me
Filip Pizlo
Comment 4 2012-01-09 17:30:30 PST
Any performance impact?
Geoffrey Garen
Comment 5 2012-01-10 11:03:59 PST
> Any performance impact? Bencher says 1.002x worse on SunSpider and v8 -- seems reasonable to call that "no change". Bytecode generation for f.apply is definitely worse by one op_mov. This is theoretically fixable with more robust optimization information in the AST, but I think that's probably the wrong direction -- long-term, we just want to compile f.apply in the DFG, which will elide the op_mov.
Filip Pizlo
Comment 6 2012-01-10 11:46:03 PST
(In reply to comment #5) > > Any performance impact? > > Bencher says 1.002x worse on SunSpider and v8 -- seems reasonable to call that "no change". > > Bytecode generation for f.apply is definitely worse by one op_mov. This is theoretically fixable with more robust optimization information in the AST, but I think that's probably the wrong direction -- long-term, we just want to compile f.apply in the DFG, which will elide the op_mov. Agree!
Geoffrey Garen
Comment 7 2012-01-11 16:14:46 PST
Note You need to log in before you can comment on or make changes to this bug.