Bug 150746 - Air should eliminate dead code
Summary: Air should eliminate dead code
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
Depends on:
Blocks: 150456
  Show dependency treegraph
 
Reported: 2015-10-30 18:38 PDT by Filip Pizlo
Modified: 2015-10-31 16:15 PDT (History)
11 users (show)

See Also:


Attachments
the patch (22.36 KB, patch)
2015-10-30 18:43 PDT, Filip Pizlo
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2015-10-30 18:38:39 PDT
Patch forthcoming.
Comment 1 Filip Pizlo 2015-10-30 18:43:59 PDT
Created attachment 264456 [details]
the patch
Comment 2 WebKit Commit Bot 2015-10-30 18:45:53 PDT
Attachment 264456 [details] did not pass style-queue:


ERROR: Source/JavaScriptCore/b3/air/AirEliminateDeadCode.cpp:83:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
ERROR: Source/JavaScriptCore/b3/air/AirEliminateDeadCode.cpp:91:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
ERROR: Source/JavaScriptCore/b3/air/AirEliminateDeadCode.cpp:100:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
Total errors found: 3 in 11 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Geoffrey Garen 2015-10-31 10:10:53 PDT
Comment on attachment 264456 [details]
the patch

r=me
Comment 4 Geoffrey Garen 2015-10-31 10:12:51 PDT
Comment on attachment 264456 [details]
the patch

View in context: https://bugs.webkit.org/attachment.cgi?id=264456&action=review

> Source/JavaScriptCore/b3/air/AirEliminateDeadCode.h:36
> +// This allocates StackSlots to places on the stack. It first allocates the pinned ones in index
> +// order and then it allocates the rest using first fit.

Comment is wrong.
Comment 5 Filip Pizlo 2015-10-31 11:07:57 PDT
(In reply to comment #4)
> Comment on attachment 264456 [details]
> the patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=264456&action=review
> 
> > Source/JavaScriptCore/b3/air/AirEliminateDeadCode.h:36
> > +// This allocates StackSlots to places on the stack. It first allocates the pinned ones in index
> > +// order and then it allocates the rest using first fit.
> 
> Comment is wrong.

Ooops!
Comment 6 Filip Pizlo 2015-10-31 16:15:42 PDT
Landed in http://trac.webkit.org/changeset/191846