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

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

Issue 1939703002: Don't crash on deserialized type inference. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments + minor fix. Created 4 years, 7 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 Future; 7 import 'dart:async' show 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 20 matching lines...) Expand all
31 import '../compiler.dart' show Compiler; 31 import '../compiler.dart' show Compiler;
32 import '../constants/constant_system.dart'; 32 import '../constants/constant_system.dart';
33 import '../constants/expressions.dart'; 33 import '../constants/expressions.dart';
34 import '../constants/values.dart'; 34 import '../constants/values.dart';
35 import '../core_types.dart' show CoreClasses, CoreTypes; 35 import '../core_types.dart' show CoreClasses, CoreTypes;
36 import '../dart_types.dart'; 36 import '../dart_types.dart';
37 import '../deferred_load.dart' show DeferredLoadTask; 37 import '../deferred_load.dart' show DeferredLoadTask;
38 import '../diagnostics/invariant.dart' show DEBUG_MODE; 38 import '../diagnostics/invariant.dart' show DEBUG_MODE;
39 import '../dump_info.dart' show DumpInfoTask; 39 import '../dump_info.dart' show DumpInfoTask;
40 import '../elements/elements.dart'; 40 import '../elements/elements.dart';
41 import '../elements/modelx.dart' show ConstructorBodyElementX, FieldElementX; 41 import '../elements/modelx.dart' show ConstructorBodyElementX, FieldElementX, De ferredLoaderGetterElementX;
42 import '../elements/visitor.dart' show BaseElementVisitor; 42 import '../elements/visitor.dart' show BaseElementVisitor;
43 import '../enqueue.dart' show Enqueuer, ResolutionEnqueuer; 43 import '../enqueue.dart' show Enqueuer, ResolutionEnqueuer;
44 import '../io/code_output.dart'; 44 import '../io/code_output.dart';
45 import '../io/position_information.dart' show PositionSourceInformationStrategy; 45 import '../io/position_information.dart' show PositionSourceInformationStrategy;
46 import '../io/source_information.dart' show SourceInformationStrategy; 46 import '../io/source_information.dart' show SourceInformationStrategy;
47 import '../io/start_end_information.dart' 47 import '../io/start_end_information.dart'
48 show StartEndSourceInformationStrategy; 48 show StartEndSourceInformationStrategy;
49 import '../js/js.dart' as jsAst; 49 import '../js/js.dart' as jsAst;
50 import '../js/js.dart' show js; 50 import '../js/js.dart' show js;
51 import '../js/js_source_mapping.dart' show JavaScriptSourceInformationStrategy; 51 import '../js/js_source_mapping.dart' show JavaScriptSourceInformationStrategy;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 part 'constant_handler_javascript.dart'; 91 part 'constant_handler_javascript.dart';
92 part 'custom_elements_analysis.dart'; 92 part 'custom_elements_analysis.dart';
93 part 'field_naming_mixin.dart'; 93 part 'field_naming_mixin.dart';
94 part 'frequency_namer.dart'; 94 part 'frequency_namer.dart';
95 part 'minify_namer.dart'; 95 part 'minify_namer.dart';
96 part 'namer.dart'; 96 part 'namer.dart';
97 part 'namer_names.dart'; 97 part 'namer_names.dart';
98 part 'no_such_method_registry.dart'; 98 part 'no_such_method_registry.dart';
99 part 'runtime_types.dart'; 99 part 'runtime_types.dart';
100 part 'type_variable_handler.dart'; 100 part 'type_variable_handler.dart';
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/resolution/tree_elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698