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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/enqueue.dart

Issue 23493026: Revert "Fix casts and type assertions on mixins used in native classes." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
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 part of dart2js; 5 part of dart2js;
6 6
7 class EnqueueTask extends CompilerTask { 7 class EnqueueTask extends CompilerTask {
8 final ResolutionEnqueuer resolution; 8 final ResolutionEnqueuer resolution;
9 final CodegenEnqueuer codegen; 9 final CodegenEnqueuer codegen;
10 10
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 * If a factory constructor is used with type arguments, we lose track 488 * If a factory constructor is used with type arguments, we lose track
489 * which arguments could be used to create instances of classes that use their 489 * which arguments could be used to create instances of classes that use their
490 * type variables as expressions, so we have to remember if we saw such a use. 490 * type variables as expressions, so we have to remember if we saw such a use.
491 */ 491 */
492 void registerFactoryWithTypeArguments(TreeElements elements) { 492 void registerFactoryWithTypeArguments(TreeElements elements) {
493 universe.usingFactoryWithTypeArguments = true; 493 universe.usingFactoryWithTypeArguments = true;
494 } 494 }
495 495
496 void registerAsCheck(DartType type, TreeElements elements) { 496 void registerAsCheck(DartType type, TreeElements elements) {
497 registerIsCheck(type, elements); 497 registerIsCheck(type, elements);
498 compiler.backend.registerAsCheck(type, this, elements); 498 compiler.backend.registerAsCheck(type, elements);
499 } 499 }
500 500
501 void registerGenericCallMethod(Element element, TreeElements elements) { 501 void registerGenericCallMethod(Element element, TreeElements elements) {
502 compiler.backend.registerGenericCallMethod(element, this, elements); 502 compiler.backend.registerGenericCallMethod(element, this, elements);
503 universe.genericCallMethods.add(element); 503 universe.genericCallMethods.add(element);
504 } 504 }
505 505
506 void registerBoundClosure() { 506 void registerBoundClosure() {
507 registerInstantiatedClass(compiler.boundClosureClass, 507 registerInstantiatedClass(compiler.boundClosureClass,
508 // Precise dependency is not important here. 508 // Precise dependency is not important here.
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 while(!queue.isEmpty) { 725 while(!queue.isEmpty) {
726 // TODO(johnniwinther): Find an optimal process order for codegen. 726 // TODO(johnniwinther): Find an optimal process order for codegen.
727 f(queue.removeLast()); 727 f(queue.removeLast());
728 } 728 }
729 } 729 }
730 730
731 void _logSpecificSummary(log(message)) { 731 void _logSpecificSummary(log(message)) {
732 log('Compiled ${generatedCode.length} methods.'); 732 log('Compiled ${generatedCode.length} methods.');
733 } 733 }
734 } 734 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698