Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Issue 2422293002: Minor tweaks to dart:html for better dart2js codegen (Closed)

Created:
4 years, 2 months ago by sra1
Modified:
4 years, 2 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Minor tweaks to dart:html for better dart2js codegen - Allow 'document' to be reused (GVN-ed). - Allow inlining of 'new Comment'. - 'new Text' and 'new Comment' have no effects. BUG= R=alanknight@google.com, sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/c9c3c203c155d92cf86cceec0b9168e86429dd80

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -11 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 3 chunks +7 lines, -6 lines 0 comments Download
M tools/dom/templates/html/dart2js/html_dart2js.darttemplate View 1 chunk +2 lines, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_Comment.darttemplate View 1 chunk +2 lines, -4 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Text.darttemplate View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
sra1
4 years, 2 months ago (2016-10-17 19:24:03 UTC) #6
Alan Knight
lgtm
4 years, 2 months ago (2016-10-17 19:29:10 UTC) #7
Siggi Cherem (dart-lang)
lgtm
4 years, 2 months ago (2016-10-17 19:36:59 UTC) #8
Florian Schneider
dbc: I thought this file is auto-generated. At least that's what is says about itself. ...
4 years, 2 months ago (2016-10-17 19:40:27 UTC) #10
Alan Knight
On 2016/10/17 19:40:27, Florian Schneider wrote: > dbc: I thought this file is auto-generated. At ...
4 years, 2 months ago (2016-10-17 19:44:16 UTC) #11
sra1
Committed patchset #1 (id:40001) manually as c9c3c203c155d92cf86cceec0b9168e86429dd80 (presubmit successful).
4 years, 2 months ago (2016-10-17 20:35:36 UTC) #13
Florian Schneider
On 2016/10/17 19:44:16, Alan Knight wrote: > On 2016/10/17 19:40:27, Florian Schneider wrote: > > ...
4 years, 2 months ago (2016-10-17 20:48:46 UTC) #14
sra1
4 years, 2 months ago (2016-10-17 21:05:05 UTC) #15
Message was sent while issue was closed.
On 2016/10/17 20:48:46, Florian Schneider wrote:
> On 2016/10/17 19:44:16, Alan Knight wrote:
> > On 2016/10/17 19:40:27, Florian Schneider wrote:
> > > dbc: I thought this file is auto-generated. At least that's what is says
> about
> > > itself.
> > > 
> > > // DO NOT EDIT - unless you are editing documentation as per:
> > > // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
> > > // Auto-generated dart:html library.
> > 
> > It is, but via a separate script, not part of the build process. So it needs
> to
> > get regenerated and then checked in.
> 
> I guess my question is: Why not have this generated as part of the SDK build
> process?

In the general case it depends on Dartium.
My change just happened to avoid changing anything (that matters) for Dartium.
You don't want to build Chrome for every VM change.

Powered by Google App Engine
This is Rietveld 408576698