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

Side by Side Diff: pkg/kernel/lib/target/flutter.dart

Issue 2927613002: Improve NSM handling. (Closed)
Patch Set: Address review comments. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/kernel/lib/core_types.dart ('k') | pkg/kernel/lib/target/targets.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 library kernel.target.flutter; 4 library kernel.target.flutter;
5 5
6 import '../ast.dart'; 6 import '../ast.dart';
7 import '../class_hierarchy.dart'; 7 import '../class_hierarchy.dart';
8 import '../core_types.dart'; 8 import '../core_types.dart';
9 import '../transformations/continuation.dart' as cont; 9 import '../transformations/continuation.dart' as cont;
10 import '../transformations/erasure.dart'; 10 import '../transformations/erasure.dart';
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 setup_builtin_library.transformProgram(program, libraryUri: 'dart:ui'); 66 setup_builtin_library.transformProgram(program, libraryUri: 'dart:ui');
67 67
68 if (strongMode) { 68 if (strongMode) {
69 new Erasure().transform(program); 69 new Erasure().transform(program);
70 } 70 }
71 71
72 new SanitizeForVM().transform(program); 72 new SanitizeForVM().transform(program);
73 } 73 }
74 74
75 @override 75 @override
76 Expression instantiateInvocation(Member target, Expression receiver, 76 Expression instantiateInvocation(CoreTypes coreTypes, Expression receiver,
77 String name, Arguments arguments, int offset, bool isSuper) { 77 String name, Arguments arguments, int offset, bool isSuper) {
78 // TODO(ahe): This should probably return the same as VmTarget does. 78 // TODO(ahe): This should probably return the same as VmTarget does.
79 return new InvalidExpression(); 79 return new InvalidExpression();
80 } 80 }
81
82 @override
83 Expression instantiateNoSuchMethodError(CoreTypes coreTypes,
84 Expression receiver, String name, Arguments arguments, int offset,
85 {bool isMethod: false,
86 bool isGetter: false,
87 bool isSetter: false,
88 bool isField: false,
89 bool isLocalVariable: false,
90 bool isDynamic: false,
91 bool isSuper: false,
92 bool isStatic: false,
93 bool isConstructor: false,
94 bool isTopLevel: false}) {
95 // TODO(ahe): This should probably return the same as VmTarget does.
96 return new InvalidExpression();
97 }
81 } 98 }
OLDNEW
« no previous file with comments | « pkg/kernel/lib/core_types.dart ('k') | pkg/kernel/lib/target/targets.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698