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

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

Issue 2017903002: Improve equivalence testing of unnamed mixin applications. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Rebased Created 4 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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.common.codegen; 5 library dart2js.common.codegen;
6 6
7 import '../closure.dart' show SynthesizedCallMethodElementX; 7 import '../closure.dart' show SynthesizedCallMethodElementX;
8 import '../common.dart'; 8 import '../common.dart';
9 import '../compiler.dart' show Compiler; 9 import '../compiler.dart' show Compiler;
10 import '../constants/values.dart' show ConstantValue; 10 import '../constants/values.dart' show ConstantValue;
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 ResolvedAst resolvedAst, ItemCompilationContext compilationContext) 244 ResolvedAst resolvedAst, ItemCompilationContext compilationContext)
245 : this.resolvedAst = resolvedAst, 245 : this.resolvedAst = resolvedAst,
246 super(resolvedAst.element, compilationContext); 246 super(resolvedAst.element, compilationContext);
247 247
248 WorldImpact run(Compiler compiler, CodegenEnqueuer world) { 248 WorldImpact run(Compiler compiler, CodegenEnqueuer world) {
249 if (world.isProcessed(element)) return const WorldImpact(); 249 if (world.isProcessed(element)) return const WorldImpact();
250 250
251 registry = new CodegenRegistry(compiler, element); 251 registry = new CodegenRegistry(compiler, element);
252 return compiler.codegen(this, world); 252 return compiler.codegen(this, world);
253 } 253 }
254
255 String toString() => 'CodegenWorkItem(${resolvedAst.element})';
254 } 256 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/elements.dart » ('j') | pkg/compiler/lib/src/resolution/class_hierarchy.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698