RESOLVED FIXED 98996
DFG should inline code blocks that use new_array_buffer
https://bugs.webkit.org/show_bug.cgi?id=98996
Summary DFG should inline code blocks that use new_array_buffer
Filip Pizlo
Reported 2012-10-10 23:42:35 PDT
It doesn't do so right now because of a really silly piece of missing functionality.
Attachments
the patch (17.48 KB, patch)
2012-10-11 00:23 PDT, Filip Pizlo
ggaren: review+
buildbot: commit-queue-
Filip Pizlo
Comment 1 2012-10-11 00:23:26 PDT
Created attachment 168153 [details] the patch
Build Bot
Comment 2 2012-10-11 00:48:24 PDT
Comment on attachment 168153 [details] the patch Attachment 168153 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/14252494 New failing tests: inspector/profiler/memory-instrumentation-canvas.html
Geoffrey Garen
Comment 3 2012-10-11 09:04:54 PDT
Comment on attachment 168153 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=168153&action=review Are those test failures real? This patch does not appear to do the inlining yet... > Source/JavaScriptCore/ChangeLog:10 > + hash-cons them, either. "const"
Filip Pizlo
Comment 4 2012-10-11 09:19:23 PDT
(In reply to comment #3) > (From update of attachment 168153 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=168153&action=review > > Are those test failures real? I don't think so. :-/ I will investigate though. > > This patch does not appear to do the inlining yet... It just enables inlining of code blocks that use new_array_buffer. Array allocations themselves are not yet inlined; that's https://bugs.webkit.org/show_bug.cgi?id=98608. > > > Source/JavaScriptCore/ChangeLog:10 > > + hash-cons them, either. > > "const" http://en.wikipedia.org/wiki/Hash_consing
Filip Pizlo
Comment 5 2012-10-11 12:36:20 PDT
Filip Pizlo
Comment 6 2012-10-11 12:36:35 PDT
(In reply to comment #4) > (In reply to comment #3) > > (From update of attachment 168153 [details] [details]) > > View in context: https://bugs.webkit.org/attachment.cgi?id=168153&action=review > > > > Are those test failures real? > > I don't think so. :-/ I will investigate though. I don't see this locally. Assuming it's a flaky test. > > > > > This patch does not appear to do the inlining yet... > > It just enables inlining of code blocks that use new_array_buffer. Array allocations themselves are not yet inlined; that's https://bugs.webkit.org/show_bug.cgi?id=98608. > > > > > > Source/JavaScriptCore/ChangeLog:10 > > > + hash-cons them, either. > > > > "const" > > http://en.wikipedia.org/wiki/Hash_consing
Note You need to log in before you can comment on or make changes to this bug.