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

Side by Side Diff: pkg/compiler/lib/src/js_backend/patch_resolver.dart

Issue 1284593003: Remove dart2jslib.dart (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 4
5 library dart2js.js_backend.patch_resolver; 5 library dart2js.js_backend.patch_resolver;
6 6
7 import '../dart2jslib.dart'; 7 import '../common/tasks.dart' show
8 CompilerTask;
9 import '../compiler.dart' show
10 Compiler;
8 import '../dart_types.dart'; 11 import '../dart_types.dart';
12 import '../diagnostics/invariant.dart' show
13 invariant;
9 import '../elements/elements.dart'; 14 import '../elements/elements.dart';
10 import '../elements/modelx.dart'; 15 import '../elements/modelx.dart';
11 import '../messages.dart' show MessageKind; 16 import '../messages.dart' show MessageKind;
12 import '../tree/tree.dart'; 17 import '../tree/tree.dart';
13 18
14 class PatchResolverTask extends CompilerTask { 19 class PatchResolverTask extends CompilerTask {
15 PatchResolverTask(Compiler compiler) : super(compiler); 20 PatchResolverTask(Compiler compiler) : super(compiler);
16 21
17 String get name => 'JavaScript patch resolver'; 22 String get name => 'JavaScript patch resolver';
18 23
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 'patchParameterCount': patchSignature.optionalParameterCount}); 151 'patchParameterCount': patchSignature.optionalParameterCount});
147 }); 152 });
148 } else { 153 } else {
149 checkMatchingPatchParameters(origin, 154 checkMatchingPatchParameters(origin,
150 originSignature.optionalParameters, 155 originSignature.optionalParameters,
151 patchSignature.optionalParameters); 156 patchSignature.optionalParameters);
152 } 157 }
153 } 158 }
154 159
155 } 160 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/js_backend.dart ('k') | pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698