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

Issue 2913013003: Move enableNative to target, turn it on by default (Closed)

Created:
3 years, 6 months ago by Siggi Cherem (dart-lang)
Modified:
3 years, 6 months ago
Reviewers:
ahe
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Move enableNative to target, turn it on by default R=ahe@google.com Committed: https://github.com/dart-lang/sdk/commit/682011c7b296dc82af079477b11fdc74b3220bc5

Patch Set 1 #

Total comments: 12

Patch Set 2 : cl comments + rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -6 lines) Patch
M pkg/compiler/lib/src/kernel/fasta_support.dart View 1 3 chunks +7 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/body_builder.dart View 1 3 chunks +6 lines, -4 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/diet_listener.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/source/outline_builder.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/target_implementation.dart View 1 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Siggi Cherem (dart-lang)
3 years, 6 months ago (2017-05-30 20:30:51 UTC) #3
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/fasta/kernel/body_builder.dart File pkg/front_end/lib/src/fasta/kernel/body_builder.dart (right): https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode914 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:914: enableNative && let me know if you want to ...
3 years, 6 months ago (2017-05-30 20:33:59 UTC) #4
ahe
lgtm https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/fasta/kernel/body_builder.dart File pkg/front_end/lib/src/fasta/kernel/body_builder.dart (right): https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode914 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:914: enableNative && On 2017/05/30 20:33:59, Siggi Cherem (dart-lang) ...
3 years, 6 months ago (2017-05-31 09:07:51 UTC) #5
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/fasta/target_implementation.dart File pkg/front_end/lib/src/fasta/target_implementation.dart (right): https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/fasta/target_implementation.dart#newcode103 pkg/front_end/lib/src/fasta/target_implementation.dart:103: bool enableNative(SourceLibraryBuilder library) => true; On 2017/05/31 09:07:50, ahe ...
3 years, 6 months ago (2017-05-31 14:25:43 UTC) #6
ahe
https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/fasta/target_implementation.dart File pkg/front_end/lib/src/fasta/target_implementation.dart (right): https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/fasta/target_implementation.dart#newcode103 pkg/front_end/lib/src/fasta/target_implementation.dart:103: bool enableNative(SourceLibraryBuilder library) => true; On 2017/05/31 14:25:43, Siggi ...
3 years, 6 months ago (2017-05-31 14:31:25 UTC) #7
Siggi Cherem (dart-lang)
On 2017/05/31 14:31:25, ahe wrote: > https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/fasta/target_implementation.dart > File pkg/front_end/lib/src/fasta/target_implementation.dart (right): > > https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/fasta/target_implementation.dart#newcode103 > ...
3 years, 6 months ago (2017-05-31 20:16:39 UTC) #8
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/fasta/kernel/body_builder.dart File pkg/front_end/lib/src/fasta/kernel/body_builder.dart (right): https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode914 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:914: enableNative && On 2017/05/31 09:07:50, ahe wrote: > On ...
3 years, 6 months ago (2017-05-31 20:26:15 UTC) #9
Siggi Cherem (dart-lang)
Committed patchset #2 (id:40001) manually as 682011c7b296dc82af079477b11fdc74b3220bc5 (presubmit successful).
3 years, 6 months ago (2017-05-31 20:56:02 UTC) #11
ahe
3 years, 6 months ago (2017-06-01 12:20:51 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/f...
File pkg/front_end/lib/src/fasta/kernel/body_builder.dart (right):

https://codereview.chromium.org/2913013003/diff/20001/pkg/front_end/lib/src/f...
pkg/front_end/lib/src/fasta/kernel/body_builder.dart:914: enableNative &&
On 2017/05/31 20:26:14, Siggi Cherem (dart-lang) wrote:
> On 2017/05/31 09:07:50, ahe wrote:
> > On 2017/05/30 20:33:59, Siggi Cherem (dart-lang) wrote:
> > > let me know if you want to drop this optimization now (for the VM this is
> > always
> > > true).
> > > 
> > > I kept it because it helps with dart2js
> > 
> > It's not an optimization anymore. I think we should add a boolean to this
> class:
> > 
> > final isPlatformLibrary = library.uri.scheme == "dart";
> 
> done. Any reason why not take it a step further and simply add:
>   final isBuiltInLibrary = library.uri.scheme == 'dart' && library.uri.path ==
> '_builtin';?

That's a good idea.

Powered by Google App Engine
This is Rietveld 408576698