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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/dart2jslib.dart

Issue 85813002: Revert "Revert "Build new IR for functions returning a constant."" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: feedback by kasper Created 7 years 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; 5 library dart2js;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection' show Queue; 8 import 'dart:collection' show Queue;
9 9
10 import 'closure.dart' as closureMapping; 10 import 'closure.dart' as closureMapping;
11 import 'dart_backend/dart_backend.dart' as dart_backend; 11 import 'dart_backend/dart_backend.dart' as dart_backend;
12 import 'dart_types.dart'; 12 import 'dart_types.dart';
13 import 'elements/elements.dart'; 13 import 'elements/elements.dart';
14 import 'elements/modelx.dart' 14 import 'elements/modelx.dart'
15 show ErroneousElementX, 15 show ErroneousElementX,
16 ClassElementX, 16 ClassElementX,
17 CompilationUnitElementX, 17 CompilationUnitElementX,
18 LibraryElementX, 18 LibraryElementX,
19 PrefixElementX, 19 PrefixElementX,
20 VoidElementX; 20 VoidElementX;
21 import 'js_backend/js_backend.dart' as js_backend; 21 import 'js_backend/js_backend.dart' as js_backend;
22 import 'native_handler.dart' as native; 22 import 'native_handler.dart' as native;
23 import 'scanner/scannerlib.dart'; 23 import 'scanner/scannerlib.dart';
24 import 'ssa/ssa.dart'; 24 import 'ssa/ssa.dart';
25 import 'tree/tree.dart'; 25 import 'tree/tree.dart';
26 import 'ir/ir_builder.dart' show IrBuilderTask;
26 import 'universe/universe.dart'; 27 import 'universe/universe.dart';
27 import 'util/util.dart'; 28 import 'util/util.dart';
28 import 'util/characters.dart' show $_; 29 import 'util/characters.dart' show $_;
29 import '../compiler.dart' as api; 30 import '../compiler.dart' as api;
30 import 'patch_parser.dart'; 31 import 'patch_parser.dart';
31 import 'types/types.dart' as ti; 32 import 'types/types.dart' as ti;
32 import 'resolution/resolution.dart'; 33 import 'resolution/resolution.dart';
33 import 'source_file.dart' show SourceFile; 34 import 'source_file.dart' show SourceFile;
34 import 'js/js.dart' as js; 35 import 'js/js.dart' as js;
35 import 'deferred_load.dart' show DeferredLoadTask; 36 import 'deferred_load.dart' show DeferredLoadTask;
(...skipping 15 matching lines...) Expand all
51 part 'constant_system_dart.dart'; 52 part 'constant_system_dart.dart';
52 part 'diagnostic_listener.dart'; 53 part 'diagnostic_listener.dart';
53 part 'enqueue.dart'; 54 part 'enqueue.dart';
54 part 'library_loader.dart'; 55 part 'library_loader.dart';
55 part 'resolved_visitor.dart'; 56 part 'resolved_visitor.dart';
56 part 'script.dart'; 57 part 'script.dart';
57 part 'tree_validator.dart'; 58 part 'tree_validator.dart';
58 part 'typechecker.dart'; 59 part 'typechecker.dart';
59 part 'warnings.dart'; 60 part 'warnings.dart';
60 part 'world.dart'; 61 part 'world.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698