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

Side by Side Diff: pkg/compiler/lib/src/dart2js.dart

Issue 830703004: Emit to StreamCodeOutput instead of CodeBuffer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 5 years, 11 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 | « pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart ('k') | pkg/compiler/lib/src/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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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.cmdline; 5 library dart2js.cmdline;
6 6
7 import 'dart:async' 7 import 'dart:async'
8 show Future, EventSink; 8 show Future, EventSink;
9 import 'dart:convert' show UTF8, LineSplitter; 9 import 'dart:convert' show UTF8, LineSplitter;
10 import 'dart:io' 10 import 'dart:io'
11 show exit, File, FileMode, Platform, RandomAccessFile, FileSystemException, 11 show exit, File, FileMode, Platform, RandomAccessFile, FileSystemException,
12 stdin, stderr; 12 stdin, stderr;
13 13
14 import '../compiler.dart' as api; 14 import '../compiler.dart' as api;
15 import 'source_file.dart'; 15 import 'io/source_file.dart';
16 import 'source_file_provider.dart'; 16 import 'source_file_provider.dart';
17 import 'filenames.dart'; 17 import 'filenames.dart';
18 import 'util/uri_extras.dart'; 18 import 'util/uri_extras.dart';
19 import 'util/util.dart' show stackTraceFilePrefix; 19 import 'util/util.dart' show stackTraceFilePrefix;
20 import 'util/command_line.dart'; 20 import 'util/command_line.dart';
21 import 'package:_internal/libraries.dart'; 21 import 'package:_internal/libraries.dart';
22 22
23 const String LIBRARY_ROOT = '../../../../../sdk'; 23 const String LIBRARY_ROOT = '../../../../../sdk';
24 const String OUTPUT_LANGUAGE_DART = 'Dart'; 24 const String OUTPUT_LANGUAGE_DART = 'Dart';
25 25
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 } else if (exitCode == 253) { 704 } else if (exitCode == 253) {
705 print(">>> TEST CRASH"); 705 print(">>> TEST CRASH");
706 } else { 706 } else {
707 print(">>> TEST FAIL"); 707 print(">>> TEST FAIL");
708 } 708 }
709 stderr.writeln(">>> EOF STDERR"); 709 stderr.writeln(">>> EOF STDERR");
710 subscription.resume(); 710 subscription.resume();
711 }); 711 });
712 }); 712 });
713 } 713 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart ('k') | pkg/compiler/lib/src/dart2jslib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698