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

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

Issue 25000002: Revert r27992: some browser tests fail. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/dart2jslib.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) 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 /** 7 /**
8 * If true, print a warning for each method that was resolved, but not 8 * If true, print a warning for each method that was resolved, but not
9 * compiled. 9 * compiled.
10 */ 10 */
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 ResolverTask resolver; 526 ResolverTask resolver;
527 closureMapping.ClosureTask closureToClassMapper; 527 closureMapping.ClosureTask closureToClassMapper;
528 TypeCheckerTask checker; 528 TypeCheckerTask checker;
529 ti.TypesTask typesTask; 529 ti.TypesTask typesTask;
530 Backend backend; 530 Backend backend;
531 ConstantHandler constantHandler; 531 ConstantHandler constantHandler;
532 ConstantHandler metadataHandler; 532 ConstantHandler metadataHandler;
533 EnqueueTask enqueuer; 533 EnqueueTask enqueuer;
534 DeferredLoadTask deferredLoadTask; 534 DeferredLoadTask deferredLoadTask;
535 MirrorUsageAnalyzerTask mirrorUsageAnalyzerTask; 535 MirrorUsageAnalyzerTask mirrorUsageAnalyzerTask;
536 ContainerTracer containerTracer;
536 String buildId; 537 String buildId;
537 538
538 static const SourceString MAIN = const SourceString('main'); 539 static const SourceString MAIN = const SourceString('main');
539 static const SourceString CALL_OPERATOR_NAME = const SourceString('call'); 540 static const SourceString CALL_OPERATOR_NAME = const SourceString('call');
540 static const SourceString NO_SUCH_METHOD = const SourceString('noSuchMethod'); 541 static const SourceString NO_SUCH_METHOD = const SourceString('noSuchMethod');
541 static const int NO_SUCH_METHOD_ARG_COUNT = 1; 542 static const int NO_SUCH_METHOD_ARG_COUNT = 1;
542 static const SourceString CREATE_INVOCATION_MIRROR = 543 static const SourceString CREATE_INVOCATION_MIRROR =
543 const SourceString('createInvocationMirror'); 544 const SourceString('createInvocationMirror');
544 545
545 // TODO(ahe): Rename this field and move this logic to backend, similar to how 546 // TODO(ahe): Rename this field and move this logic to backend, similar to how
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 tasks = [ 632 tasks = [
632 libraryLoader = new LibraryLoaderTask(this), 633 libraryLoader = new LibraryLoaderTask(this),
633 scanner = new ScannerTask(this), 634 scanner = new ScannerTask(this),
634 dietParser = new DietParserTask(this), 635 dietParser = new DietParserTask(this),
635 parser = new ParserTask(this), 636 parser = new ParserTask(this),
636 patchParser = new PatchParserTask(this), 637 patchParser = new PatchParserTask(this),
637 resolver = new ResolverTask(this), 638 resolver = new ResolverTask(this),
638 closureToClassMapper = new closureMapping.ClosureTask(this, closureNamer), 639 closureToClassMapper = new closureMapping.ClosureTask(this, closureNamer),
639 checker = new TypeCheckerTask(this), 640 checker = new TypeCheckerTask(this),
640 typesTask = new ti.TypesTask(this), 641 typesTask = new ti.TypesTask(this),
642 containerTracer = new ContainerTracer(this),
641 constantHandler = new ConstantHandler(this, backend.constantSystem), 643 constantHandler = new ConstantHandler(this, backend.constantSystem),
642 deferredLoadTask = new DeferredLoadTask(this), 644 deferredLoadTask = new DeferredLoadTask(this),
643 mirrorUsageAnalyzerTask = new MirrorUsageAnalyzerTask(this), 645 mirrorUsageAnalyzerTask = new MirrorUsageAnalyzerTask(this),
644 enqueuer = new EnqueueTask(this)]; 646 enqueuer = new EnqueueTask(this)];
645 647
646 tasks.addAll(backend.tasks); 648 tasks.addAll(backend.tasks);
647 metadataHandler = new ConstantHandler( 649 metadataHandler = new ConstantHandler(
648 this, backend.constantSystem, isMetadata: true); 650 this, backend.constantSystem, isMetadata: true);
649 } 651 }
650 652
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
1595 1597
1596 void close() {} 1598 void close() {}
1597 1599
1598 toString() => name; 1600 toString() => name;
1599 1601
1600 /// Convenience method for getting an [api.CompilerOutputProvider]. 1602 /// Convenience method for getting an [api.CompilerOutputProvider].
1601 static NullSink outputProvider(String name, String extension) { 1603 static NullSink outputProvider(String name, String extension) {
1602 return new NullSink('$name.$extension'); 1604 return new NullSink('$name.$extension');
1603 } 1605 }
1604 } 1606 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/dart2jslib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698