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

Side by Side Diff: pkg/dartdoc/mirrors/dart2js_mirror.dart

Issue 10854183: Get rid of obsolete call. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | no next file » | 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 #library('mirrors.dart2js'); 5 #library('mirrors.dart2js');
6 6
7 #import('../../../lib/compiler/compiler.dart', prefix: 'diagnostics'); 7 #import('../../../lib/compiler/compiler.dart', prefix: 'diagnostics');
8 #import('../../../lib/compiler/implementation/elements/elements.dart'); 8 #import('../../../lib/compiler/implementation/elements/elements.dart');
9 #import('../../../lib/compiler/implementation/apiimpl.dart', prefix: 'api'); 9 #import('../../../lib/compiler/implementation/apiimpl.dart', prefix: 'api');
10 #import('../../../lib/compiler/implementation/scanner/scannerlib.dart'); 10 #import('../../../lib/compiler/implementation/scanner/scannerlib.dart');
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 library.localMembers.forEach((element) { 239 library.localMembers.forEach((element) {
240 world.addToWorkList(element); 240 world.addToWorkList(element);
241 }); 241 });
242 } 242 }
243 progress.reset(); 243 progress.reset();
244 world.forEach((WorkItem work) { 244 world.forEach((WorkItem work) {
245 withCurrentElement(work.element, () => work.run(this, world)); 245 withCurrentElement(work.element, () => work.run(this, world));
246 }); 246 });
247 //world.queueIsClosed = true; 247 //world.queueIsClosed = true;
248 assert(world.checkNoEnqueuedInvokedInstanceMethods()); 248 assert(world.checkNoEnqueuedInvokedInstanceMethods());
249 world.registerFieldClosureInvocations();
250 } 249 }
251 250
252 String codegen(WorkItem work, Enqueuer world) { 251 String codegen(WorkItem work, Enqueuer world) {
253 return null; 252 return null;
254 } 253 }
255 } 254 }
256 255
257 // TODO(johnniwinther): The source for the apidoc includes calls to methods on 256 // TODO(johnniwinther): The source for the apidoc includes calls to methods on
258 // for instance [MathPrimitives] which are not resolved by dart2js. Since we 257 // for instance [MathPrimitives] which are not resolved by dart2js. Since we
259 // do not need to analyse the body of functions to produce the documenation 258 // do not need to analyse the body of functions to produce the documenation
(...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
1355 if (node !== null) { 1354 if (node !== null) {
1356 var span = system.compiler.spanFromNode(node, script.uri); 1355 var span = system.compiler.spanFromNode(node, script.uri);
1357 return new Dart2JsLocation(script, span); 1356 return new Dart2JsLocation(script, span);
1358 } else { 1357 } else {
1359 var span = system.compiler.spanFromElement(_variable); 1358 var span = system.compiler.spanFromElement(_variable);
1360 return new Dart2JsLocation(script, span); 1359 return new Dart2JsLocation(script, span);
1361 } 1360 }
1362 } 1361 }
1363 } 1362 }
1364 1363
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698