RESOLVED FIXED 76846
[Refactoring] Make finish() of CodeGeneratorJS.pm empty
https://bugs.webkit.org/show_bug.cgi?id=76846
Summary [Refactoring] Make finish() of CodeGeneratorJS.pm empty
Kentaro Hara
Reported 2012-01-23 11:21:34 PST
This is one of steps to stop rebuilding .h/.cpp files generated by unchanged IDLs (bug 76836). As a refactoring, we are planning to remove finish() from all CodeGenerators. In this bug, we make finish() of CodeGeneratorJS.pm empty.
Attachments
Patch (7.97 KB, patch)
2012-01-23 11:36 PST, Kentaro Hara
no flags
proposed warning fix (1.31 KB, patch)
2012-01-24 00:04 PST, Csaba Osztrogonác
no flags
Kentaro Hara
Comment 1 2012-01-23 11:36:03 PST
WebKit Review Bot
Comment 2 2012-01-23 20:00:15 PST
Comment on attachment 123585 [details] Patch Clearing flags on attachment: 123585 Committed r105683: <http://trac.webkit.org/changeset/105683>
WebKit Review Bot
Comment 3 2012-01-23 20:00:20 PST
All reviewed patches have been landed. Closing bug.
Csaba Osztrogonác
Comment 4 2012-01-23 23:55:57 PST
Comment on attachment 123585 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=123585&action=review > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:3251 > + my @includes = (); Here is the first declaration. > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:3290 > + my @includes = (); This change caused the following warning: "my" variable @includes masks earlier declaration in same scope at /home/oszi/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm line 3290.
Csaba Osztrogonác
Comment 5 2012-01-24 00:04:18 PST
Reopening to attach new patch.
Csaba Osztrogonác
Comment 6 2012-01-24 00:04:23 PST
Created attachment 123703 [details] proposed warning fix
Csaba Osztrogonác
Comment 7 2012-01-24 05:58:39 PST
Comment on attachment 123703 [details] proposed warning fix Landed in http://trac.webkit.org/changeset/105734
Simon Fraser (smfr)
Comment 8 2012-01-24 15:14:26 PST
When I do incremental builds today, I see all IDL files being processed every time. This didn't used to happen.
Kentaro Hara
Comment 9 2012-01-24 16:59:23 PST
(In reply to comment #8) > When I do incremental builds today, I see all IDL files being processed every time. This didn't used to happen. smfr: I was able to reproduce it. I'll fix it.
Kentaro Hara
Comment 10 2012-01-24 18:16:41 PST
(In reply to comment #8) > When I do incremental builds today, I see all IDL files being processed every time. This didn't used to happen. smfr: Fixed it in bug 76970.
Note You need to log in before you can comment on or make changes to this bug.