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

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

Issue 10908066: - Removed named constructor Stopwatch.start() due to conflict with instance methods start(). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | lib/core/stopwatch.dart » ('j') | lib/core/stopwatch.dart » ('J')
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 5
6 /** 6 /**
7 * If true, print a warning for each method that was resolved, but not 7 * If true, print a warning for each method that was resolved, but not
8 * compiled. 8 * compiled.
9 */ 9 */
10 const bool REPORT_EXCESS_RESOLUTION = false; 10 const bool REPORT_EXCESS_RESOLUTION = false;
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 180
181 Compiler([this.tracer = const Tracer(), 181 Compiler([this.tracer = const Tracer(),
182 this.enableTypeAssertions = false, 182 this.enableTypeAssertions = false,
183 this.enableUserAssertions = false, 183 this.enableUserAssertions = false,
184 this.enableMinification = false, 184 this.enableMinification = false,
185 bool emitJavascript = true, 185 bool emitJavascript = true,
186 bool generateSourceMap = true, 186 bool generateSourceMap = true,
187 bool cutDeclarationTypes = false]) 187 bool cutDeclarationTypes = false])
188 : libraries = new Map<String, LibraryElement>(), 188 : libraries = new Map<String, LibraryElement>(),
189 world = new World(), 189 world = new World(),
190 progress = new Stopwatch.start() { 190 progress = new Stopwatch() {
191 progress.start();
191 namer = new Namer(this); 192 namer = new Namer(this);
192 constantHandler = new ConstantHandler(this); 193 constantHandler = new ConstantHandler(this);
193 scanner = new ScannerTask(this); 194 scanner = new ScannerTask(this);
194 dietParser = new DietParserTask(this); 195 dietParser = new DietParserTask(this);
195 parser = new ParserTask(this); 196 parser = new ParserTask(this);
196 patchParser = new PatchParserTask(this); 197 patchParser = new PatchParserTask(this);
197 validator = new TreeValidatorTask(this); 198 validator = new TreeValidatorTask(this);
198 resolver = new ResolverTask(this); 199 resolver = new ResolverTask(this);
199 closureToClassMapper = new closureMapping.ClosureTask(this); 200 closureToClassMapper = new closureMapping.ClosureTask(this);
200 checker = new TypeCheckerTask(this); 201 checker = new TypeCheckerTask(this);
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 final endOffset = end.charOffset + end.slowCharCount; 917 final endOffset = end.charOffset + end.slowCharCount;
917 918
918 // [begin] and [end] might be the same for the same empty token. This 919 // [begin] and [end] might be the same for the same empty token. This
919 // happens for instance when scanning '$$'. 920 // happens for instance when scanning '$$'.
920 assert(endOffset >= beginOffset); 921 assert(endOffset >= beginOffset);
921 return f(beginOffset, endOffset); 922 return f(beginOffset, endOffset);
922 } 923 }
923 924
924 String toString() => 'SourceSpan($uri, $begin, $end)'; 925 String toString() => 'SourceSpan($uri, $begin, $end)';
925 } 926 }
OLDNEW
« no previous file with comments | « no previous file | lib/core/stopwatch.dart » ('j') | lib/core/stopwatch.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698