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

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

Issue 1253333002: dart2js cps: Support async/await by rewriting the JavaScript AST. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add issue number to status file. Created 5 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
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 js_backend; 5 library js_backend;
6 6
7 import 'dart:async' show EventSink, Future; 7 import 'dart:async' show EventSink, Future;
8 import 'dart:collection' show HashMap; 8 import 'dart:collection' show HashMap;
9 9
10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; 10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 import '../util/util.dart'; 44 import '../util/util.dart';
45 45
46 import '../elements/visitor.dart' show 46 import '../elements/visitor.dart' show
47 BaseElementVisitor; 47 BaseElementVisitor;
48 48
49 import '../js_backend/codegen/task.dart'; 49 import '../js_backend/codegen/task.dart';
50 import '../resolution/resolution.dart' show ResolutionRegistry; 50 import '../resolution/resolution.dart' show ResolutionRegistry;
51 51
52 import 'constant_system_javascript.dart'; 52 import 'constant_system_javascript.dart';
53 import 'patch_resolver.dart'; 53 import 'patch_resolver.dart';
54 import '../js/rewrite_async.dart';
54 55
55 part 'backend.dart'; 56 part 'backend.dart';
56 part 'checked_mode_helpers.dart'; 57 part 'checked_mode_helpers.dart';
57 part 'constant_emitter.dart'; 58 part 'constant_emitter.dart';
58 part 'constant_handler_javascript.dart'; 59 part 'constant_handler_javascript.dart';
59 part 'custom_elements_analysis.dart'; 60 part 'custom_elements_analysis.dart';
60 part 'frequency_namer.dart'; 61 part 'frequency_namer.dart';
61 part 'field_naming_mixin.dart'; 62 part 'field_naming_mixin.dart';
62 part 'minify_namer.dart'; 63 part 'minify_namer.dart';
63 part 'namer.dart'; 64 part 'namer.dart';
64 part 'namer_names.dart'; 65 part 'namer_names.dart';
65 part 'no_such_method_registry.dart'; 66 part 'no_such_method_registry.dart';
66 part 'runtime_types.dart'; 67 part 'runtime_types.dart';
67 part 'type_variable_handler.dart'; 68 part 'type_variable_handler.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698