Bug 124892 - arm and sh4 paths could be merged in ThunkGenerators and privateCompileCTINativeCall
Summary: arm and sh4 paths could be merged in ThunkGenerators and privateCompileCTINat...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 108645
  Show dependency treegraph
 
Reported: 2013-11-26 08:41 PST by Julien Brianceau
Modified: 2013-11-29 06:13 PST (History)
9 users (show)

See Also:


Attachments
Merge arm and sh4 paths in nativeForGenerator function. (4.90 KB, patch)
2013-11-26 08:52 PST, Julien Brianceau
no flags Details | Formatted Diff | Diff
Merge arm and sh4 paths in nativeForGenerator function (with style fix). (5.30 KB, patch)
2013-11-26 13:53 PST, Julien Brianceau
no flags Details | Formatted Diff | Diff
Merge arm and sh4 paths in nativeForGenerator and privateCompileCTINativeCall functions. (8.53 KB, patch)
2013-11-27 02:08 PST, Julien Brianceau
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Brianceau 2013-11-26 08:41:25 PST
In nativeForGenerator function, CPU(ARM) and CPU(SH4) paths are the same and could be merged to reduce code duplication.
Comment 1 Julien Brianceau 2013-11-26 08:52:15 PST
Created attachment 217880 [details]
Merge arm and sh4 paths in nativeForGenerator function.
Comment 2 WebKit Commit Bot 2013-11-26 08:53:28 PST
Attachment 217880 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source/JavaScriptCore/assembler/MacroAssemblerSH4.h', u'Source/JavaScriptCore/jit/ThunkGenerators.cpp']" exit_code: 1
Source/JavaScriptCore/jit/ThunkGenerators.cpp:356:  Should have only a single space after a punctuation in a comment.  [whitespace/comments] [5]
Total errors found: 1 in 3 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Julien Brianceau 2013-11-26 13:53:36 PST
Created attachment 217899 [details]
Merge arm and sh4 paths in nativeForGenerator function (with style fix).

Same patch with style fix.
Comment 4 Julien Brianceau 2013-11-27 02:08:58 PST
Created attachment 217929 [details]
Merge arm and sh4 paths in nativeForGenerator and privateCompileCTINativeCall functions.
Comment 5 Zoltan Herczeg 2013-11-29 05:47:43 PST
Comment on attachment 217929 [details]
Merge arm and sh4 paths in nativeForGenerator and privateCompileCTINativeCall functions.

r=me
Comment 6 WebKit Commit Bot 2013-11-29 06:13:38 PST
Comment on attachment 217929 [details]
Merge arm and sh4 paths in nativeForGenerator and privateCompileCTINativeCall functions.

Clearing flags on attachment: 217929

Committed r159871: <http://trac.webkit.org/changeset/159871>
Comment 7 WebKit Commit Bot 2013-11-29 06:13:40 PST
All reviewed patches have been landed.  Closing bug.