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

Side by Side Diff: pkg/compiler/lib/src/mirrors/analyze.dart

Issue 687973002: Copy dart2js source into pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 library dart2js.source_mirrors.analyze; 5 library dart2js.source_mirrors.analyze;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'source_mirrors.dart'; 9 import 'source_mirrors.dart';
10 import 'dart2js_mirrors.dart' show Dart2JsMirrorSystem; 10 import 'dart2js_mirrors.dart' show Dart2JsMirrorSystem;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const {}); 57 const {});
58 compiler.librariesToAnalyzeWhenRun = libraries; 58 compiler.librariesToAnalyzeWhenRun = libraries;
59 return compiler.run(null).then((bool success) { 59 return compiler.run(null).then((bool success) {
60 if (success && !compilationFailed) { 60 if (success && !compilationFailed) {
61 return new Dart2JsMirrorSystem(compiler); 61 return new Dart2JsMirrorSystem(compiler);
62 } else { 62 } else {
63 throw new StateError('Failed to create mirror system.'); 63 throw new StateError('Failed to create mirror system.');
64 } 64 }
65 }); 65 });
66 } 66 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/mirror_renamer/renamer.dart ('k') | pkg/compiler/lib/src/mirrors/dart2js_instance_mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698