RESOLVED FIXED 94201
Structure check hoisting should be less expensive
https://bugs.webkit.org/show_bug.cgi?id=94201
Summary Structure check hoisting should be less expensive
Filip Pizlo
Reported 2012-08-16 00:52:46 PDT
Currently, structure check hoisting runs after the DFG optimization fixpoint. But when it modifies the IR (which is currently almost always, since array checks have been turned into structure checks), it requires the CFA to be rerun, outside of the fixpoint. Also, structure check hoisting requires that the post-fixpoint CSE fixes up redundant GetLocals introduced by hoisting. But there's no reason why structure check hoisting can't run before the optimization fixpoint. There's also no reason why structure check hoisting can't just clean up after itself to eliminate the need for CSE to worry about redundant GetLocals on non-captured variables.
Attachments
the patch (8.27 KB, patch)
2012-08-16 00:55 PDT, Filip Pizlo
no flags
the patch (8.26 KB, patch)
2012-08-16 01:03 PDT, Filip Pizlo
mhahnenberg: review+
Filip Pizlo
Comment 1 2012-08-16 00:55:46 PDT
Created attachment 158739 [details] the patch
WebKit Review Bot
Comment 2 2012-08-16 00:58:48 PDT
Attachment 158739 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/dfg/DFGGraph.h:635: This { should be at the end of the previous line [whitespace/braces] [4] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Filip Pizlo
Comment 3 2012-08-16 01:03:37 PDT
Created attachment 158742 [details] the patch Fix style.
Mark Hahnenberg
Comment 4 2012-08-16 12:25:37 PDT
Comment on attachment 158742 [details] the patch r=me
Filip Pizlo
Comment 5 2012-08-16 16:18:04 PDT
Note You need to log in before you can comment on or make changes to this bug.