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

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

Issue 1394063004: Use common.dart to re-export commonly used entities. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 library dart2js.unsugar_cps; 1 library dart2js.unsugar_cps;
2 2
3 import '../../cps_ir/cps_ir_nodes.dart'; 3 import '../../cps_ir/cps_ir_nodes.dart';
4 4
5 import '../../cps_ir/optimizers.dart' show ParentVisitor, Pass; 5 import '../../cps_ir/optimizers.dart' show ParentVisitor, Pass;
6 import '../../constants/values.dart'; 6 import '../../constants/values.dart';
7 import '../../elements/elements.dart'; 7 import '../../elements/elements.dart';
8 import '../../io/source_information.dart';
9 import '../../js_backend/codegen/glue.dart'; 8 import '../../js_backend/codegen/glue.dart';
10 import '../../universe/selector.dart' show Selector; 9 import '../../universe/selector.dart' show Selector;
11 import '../../cps_ir/cps_ir_builder.dart' show ThisParameterLocal; 10 import '../../cps_ir/cps_ir_builder.dart' show ThisParameterLocal;
12 11
13 class ExplicitReceiverParameterEntity implements Local { 12 class ExplicitReceiverParameterEntity implements Local {
14 String get name => 'receiver'; 13 String get name => 'receiver';
15 final ExecutableElement executableContext; 14 final ExecutableElement executableContext;
16 ExplicitReceiverParameterEntity(this.executableContext); 15 ExplicitReceiverParameterEntity(this.executableContext);
17 toString() => 'ExplicitReceiverParameterEntity($executableContext)'; 16 toString() => 'ExplicitReceiverParameterEntity($executableContext)';
18 } 17 }
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 insertLetPrim(newReceiver, contBinding); 288 insertLetPrim(newReceiver, contBinding);
290 } 289 }
291 node.arguments.insert(0, node.receiver); 290 node.arguments.insert(0, node.receiver);
292 node.receiver = new Reference<Primitive>(newReceiver); 291 node.receiver = new Reference<Primitive>(newReceiver);
293 } 292 }
294 293
295 processInterceptor(Interceptor node) { 294 processInterceptor(Interceptor node) {
296 _glue.registerSpecializedGetInterceptor(node.interceptedClasses); 295 _glue.registerSpecializedGetInterceptor(node.interceptedClasses);
297 } 296 }
298 } 297 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/task.dart ('k') | pkg/compiler/lib/src/js_backend/js_backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698